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, 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)sid7.3.2+ds-1vulnerable
redis (PTS)bullseye5:6.0.16-1+deb11u2vulnerable
bullseye (security)5:6.0.16-1+deb11u6vulnerable
bookworm5:7.0.15-1~deb12u4vulnerable
bookworm (security)5:7.0.15-1~deb12u3vulnerable
trixie5:7.0.15-3vulnerable
sid5:8.0.0-2vulnerable
valkey (PTS)sid, trixie8.1.1+dfsg1-1vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
redictsource(unstable)(unfixed)1107212
redissource(unstable)(unfixed)1107211
valkeysource(unstable)(unfixed)1107210

Notes

https://github.com/valkey-io/valkey/pull/2101
Fixed by: https://github.com/valkey-io/valkey/commit/374718b2a365ca69f715d542709b7d71540b1387

Search for package or bug name: Reporting problems