CVE-2025-49112: Integer Underflow

Published Jun 2, 2025
·
Updated

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

Affected Software

9 affected componentsFixes available
Valkey Valkey<=8.1.1
debian/redict
7.3.5+ds-1
debian/redis<=5:7.0.15-1~deb12u7, <=5:7.0.15-1~deb12u10, <=5:8.0.2-3+deb13u3, <=5:8.0.6-3
debian/valkey
8.1.1+dfsg1-2
debian/redis*
debian/redis*
debian/redis*
debian/valkey<8.1.1+dfsg1-2
8.1.1+dfsg1-2
debian/valkey<8.1.1+dfsg1-2
8.1.1+dfsg1-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/redict to a version that resolves this vulnerability.

    Fixed in 7.3.5+ds-1
  2. Upgrade

    Upgrade debian/valkey to a version that resolves this vulnerability.

    Fixed in 8.1.1+dfsg1-2

Event History

Jun 2, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 AM
DescriptionSeverityWeakness
Data Sourced
via OSV·05:15 AM
DescriptionSeverityAffected Software
Jun 8, 2025
Event
via FIRST·12:00 AM
Nov 14, 2026
Updated
via OSV·05:00 PM
Affected Software
Nov 24, 2026
Updated
via OSV·05:00 AM
Affected Software

Frequently Asked Questions

1

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.

2

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.

3

What type of vulnerability is CVE-2025-49112?

CVE-2025-49112 is an integer underflow vulnerability found in the setDeferredReply function.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203