Integer Underflow Affecting valkey-debugsource package, versions <0:8.0.3-3.amzn2023.0.2


Severity

Recommended
0.0
low
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.03% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-VALKEYDEBUGSOURCE-10498027
  • published24 Jun 2025
  • disclosed2 Jun 2025

Introduced: 2 Jun 2025

CVE-2025-49112  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 valkey-debugsource to version 0:8.0.3-3.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2025-1025.

NVD Description

Note: Versions mentioned in the description apply only to the upstream valkey-debugsource package and not the valkey-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

setDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow for prev->size - prev->used.

CVSS Base Scores

version 3.1