CVE-2025-49112

NameCVE-2025-49112
DescriptionsetDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow for prev->size - prev->used.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1107210, 1107211, 1107212

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
redict (PTS)forky, sid7.3.5+ds-1fixed
redis (PTS)bullseye5:6.0.16-1+deb11u2vulnerable
bullseye (security)5:6.0.16-1+deb11u8vulnerable
bookworm5:7.0.15-1~deb12u5vulnerable
bookworm (security)5:7.0.15-1~deb12u6vulnerable
trixie5:8.0.2-3vulnerable
trixie (security)5:8.0.2-3+deb13u1vulnerable
forky, sid5:8.0.4-1vulnerable
valkey (PTS)trixie (security)8.1.1+dfsg1-3+deb13u1fixed
forky, sid, trixie8.1.1+dfsg1-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
redictsource(unstable)7.3.5+ds-1unimportant1107212
redissource(unstable)(unfixed)unimportant1107211
valkeysource(unstable)8.1.1+dfsg1-2unimportant1107210

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

Search for package or bug name: Reporting problems