| Name | CVE-2025-49112 | 
| Description | setDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow for prev->size - prev->used. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| Debian Bugs | 1107210, 1107211, 1107212 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| redict (PTS) | forky, sid | 7.3.6+ds-1 | fixed | 
| redis (PTS) | bullseye | 5:6.0.16-1+deb11u2 | vulnerable | 
|  | bullseye (security) | 5:6.0.16-1+deb11u8 | vulnerable | 
|  | bookworm | 5:7.0.15-1~deb12u5 | vulnerable | 
|  | bookworm (security) | 5:7.0.15-1~deb12u6 | vulnerable | 
|  | trixie | 5:8.0.2-3 | vulnerable | 
|  | trixie (security) | 5:8.0.2-3+deb13u1 | vulnerable | 
|  | forky, sid | 5:8.0.4-1 | vulnerable | 
| valkey (PTS) | trixie | 8.1.1+dfsg1-3 | fixed | 
|  | trixie (security) | 8.1.1+dfsg1-3+deb13u1 | fixed | 
|  | forky, sid | 8.1.4+dfsg1-1 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| redict | source | (unstable) | 7.3.5+ds-1 | unimportant |  | 1107212 | 
| redis | source | (unstable) | (unfixed) | unimportant |  | 1107211 | 
| valkey | source | (unstable) | 8.1.1+dfsg1-2 | unimportant |  | 1107210 | 
Notes
https://github.com/redis/redis/issues/14199
https://github.com/valkey-io/valkey/pull/2101
Fixed by: https://github.com/valkey-io/valkey/commit/374718b2a365ca69f715d542709b7d71540b1387
Redis upstream considers this issue only defensive programming / hardening, cf.
https://github.com/redis/redis/issues/14199#issuecomment-3076467634