CVE-2025-49112: Integer Underflow
setDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow for prev->size - prev->used.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/redictto a version that resolves this vulnerability.Fixed in 7.3.5+ds-1 - Upgrade
Upgrade
debian/valkeyto a version that resolves this vulnerability.Fixed in 8.1.1+dfsg1-2
Event History
Frequently Asked Questions
What is the severity of CVE-2025-49112?
The severity of CVE-2025-49112 is classified as critical due to the potential for integer underflow leading to memory corruption.
How do I fix CVE-2025-49112?
To fix CVE-2025-49112, upgrade to Valkey version 8.1.2 or later where the vulnerability has been addressed.
What type of vulnerability is CVE-2025-49112?
CVE-2025-49112 is an integer underflow vulnerability found in the setDeferredReply function.
Which versions of Valkey are affected by CVE-2025-49112?
Valkey versions up to and including 8.1.1 are affected by CVE-2025-49112.
What is the impact of CVE-2025-49112?
The impact of CVE-2025-49112 may include potential exploitation that leads to a denial of service or arbitrary code execution.