CVE-2025-49112 json
setDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow for prev->size - prev->used.
published 2025-06-02 17 mo ago modified 2026-06-17 4 mo ago also BIT-keydb-2025-49112 , BIT-redis-2025-49112 , BIT-valkey-2025-49112 , EUVD-2025-16611
- cvss
- 3.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 17%
- public exploits
- 0
- none known
Summary
setDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow for prev->size - prev->used.
Patch / fix
- bitnami valkey 8.1.4
- redict Debian 14 7.3.5+ds-1
- valkey Debian 14, Debian 13 8.1.1+dfsg1-2
debian advisories DEBIAN-CVE-2025-49112
- valkey Ubuntu 24.04 LTS 7.2.11+dfsg1-0ubuntu0.2
- valkey Ubuntu 25.10 8.1.4+dfsg1-0ubuntu0.2
ubuntu advisories UBUNTU-CVE-2025-49112
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- valkey SLE Module for Server Applications 15 SP6, openSUSE Leap 15.6 8.0.2-150600.13.11.1
- valkey SLE Module for Server Applications 15 SP7 8.0.2-150700.3.5.1
suse advisories SUSE-SU-2025:02231-1SUSE-SU-2025:01942-1
- valkey openSUSE Tumbleweed 8.1.2-1.1
opensuse advisories openSUSE-SU-2025:15306-1
- github.com/valkey-io/valkey#2101 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-49112 updated cvss 3.1
valkey: Valkey Integer Underflow Vulnerability
-
Red Hat Enterprise Linux 10 valkeyaffected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
0.26% chance of exploitation in the next 30 days, higher than 17% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.1 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | 3.1 | 3.1 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | keydb | — | no fix listed |
| bitnami | redis | — | no fix listed |
| bitnami | valkey | <8.1.4 |
8.1.4 |
Affected products
- Valkey Valkey
Classification
- Weakness
-
- CWE-191 Integer Underflow (Wrap or Wraparound)
- Technology feeds
References
-
github.com
/valkey-io/valkey/pull/2101
web
-
github.com
/valkey-io/valkey/blob/daea05b1e26db29bfd1c033e27f9d519a2f8ccbb/src/networking.c#L886
web
-
github.com
/redis/redis/blob/994bc96bb1744cb153392fc96bdba43eae56e17f/src/networking.c#L783
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-49112
web
-
github.com
/redis/redis/issues/14199
web
Sources
- CVE List CVE-2025-49112
- NVD CVE-2025-49112
- OSV BIT-keydb-2025-49112
- OSV BIT-redis-2025-49112
- OSV BIT-valkey-2025-49112
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD. Redis dispute this being a security vulnerability, and valkey have not currently merged it into the 8.1.x branch.