Every CVE Search/ Get API key

CVE-2025-49112

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

3.1 LowFix available

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

Attack profile

How easy it is to exploit

Attack vector
Adjacent network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

0.26%Up 0.2 points since Jun 2, 2025
90%50%10%1%

What each source reports

CVE List Score used 3.1

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

Record
CVE-2025-49112
CVSS 3.1
3.1 LowCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-191
Updated
2026-11-02
EUVDEUVD-2025-16611 3.1

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

Record
EUVD-2025-16611
CVSS 3.1
3.1 LowCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
GitHub AdvisoriesGHSA-xhp4-6g9v-4xvj 3.1

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

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

Record
GHSA-xhp4-6g9v-4xvj
CVSS 3.1
3.1 LowCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-191
Updated
2026-11-02
NVD 3.1

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

Record
CVE-2025-49112
CVSS 3.1
3.1 LowCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-191
Updated
2026-11-02
OSVBELL-CVE-2025-49112 3.1
Record
BELL-CVE-2025-49112
CVSS 3.1
3.1 LowCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSV 3.1

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

Record
CVE-2025-49112
CVSS 3.1
3.1 LowCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-191
Updated
2026-11-02
Show 11 moreShow less
OSVDEBIAN-CVE-2025-49112 3.1

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

Record
DEBIAN-CVE-2025-49112
CVSS 3.1
3.1 LowCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVOESA-2025-1630 8.4

redis security update

Redis is an advanced key-value store. It is often referred to as a dattructure server since keys can contain strings, hashes ,lists, sets anorted sets.

Security Fix(es):

Redis is an open source, in-memory database that persists on disk. In versions starting from 7.0.0 to before 8.0.2, a stack-based buffer overflow exists in redis-check-aof due to the use of memcpy with strlen(filepath) when copying a user-supplied file path into a fixed-size stack buffer. This allows an attacker to overflow the stack and potentially achieve code execution. This issue has been patched in version 8.0.2.(CVE-2025-27151)

setDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow for prev->size - prev->used.(CVE-2025-49112)

Record
OESA-2025-1630
CVSS 3.1
8.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2025-49112 3.1

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

Record
UBUNTU-CVE-2025-49112
CVSS 3.1
3.1 LowCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVAZL-62243 No score

CVE-2025-49112 affecting package valkey for versions less than 8.0.3-3

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

Record
AZL-62243
Updated
2026-11-05
OSVBIT-keydb-2025-49112 No score

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

Record
BIT-keydb-2025-49112
Updated
2026-11-02
OSVBIT-redis-2025-49112 No score

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

Record
BIT-redis-2025-49112
Updated
2026-11-02
OSVBIT-valkey-2025-49112 No score

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

Record
BIT-valkey-2025-49112
Updated
2026-11-02
OSVopenSUSE-SU-2025:15306-1 No score

valkey-8.1.2-1.1 on GA media

These are all security issues fixed in the valkey-8.1.2-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:15306-1
Updated
2026-11-02
OSVSUSE-SU-2025:01942-1 No score

Security update for valkey

This update for valkey fixes the following issues:

  • CVE-2025-27151: Absence of filename size check may cause a stack overflow (bsc#1243804)
  • CVE-2025-49112: setDeferredReply integer underflow (bsc#1243913)
  • CVE-2025-21605: Output buffer denial of service (bsc#1241708)
Record
SUSE-SU-2025:01942-1
Updated
2026-11-02
OSVSUSE-SU-2025:02231-1 No score

Security update for valkey

This update for valkey fixes the following issues:

  • CVE-2025-27151: Absence of filename size check may cause a stack overflow (bsc#1243804).
  • CVE-2025-49112: setDeferredReply integer underflow (bsc#1243913).
Record
SUSE-SU-2025:02231-1
Updated
2026-11-02
OSVUSN-7893-1 No score

valkey vulnerabilities

Benny Isaacs, Nir Brakha, and Sagi Tzadik discovered that Valkey incorrectly handled memory when running Lua scripts. An authenticated attacker could use this vulnerability to trigger a use-after-free condition, and potentially achieve remote code execution on the Valkey server. (CVE-2025-49844)

It was discovered that Valkey incorrectly handled memory when running Lua scripts. An authenticated attacker could use this vulnerability to trigger a integer overflow condition, and potentially achieve remote code execution on the Valkey server. (CVE-2025-46817)

It was discovered that Valkey incorrectly handled Lua objects. An authenticated attacker could possibly use this issue to escalate their privileges. (CVE-2025-46818)

It was discovered that Valkey incorrectly handled memory when running Lua scripts. An authenticated attacker could use this vulnerability to read out-of-bounds memory, causing a denial of service or possibly obtaining sensitive information. (CVE-2025-46819)

It was discovered that Valkey incorrectly handled memory in some calculations. An attacker could possibly use this issue to cause a denial of service. (CVE-2025-49112)

Record
USN-7893-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
valkey
Azure Linux:3
before 8.0.3-3
8.0.3-3
redis
Alpaquita:23
7.0.9-r0 up to 7.0.15-r7
7.0.15-r7
redis
Alpaquita:25
8.0.2-r0 up to 8.0.6-r0
8.0.6-r0
redis
Alpaquita:stream
8.0.2-r0 and later None known
keydb
Bitnami
Not stated
Not evaluated
redis
Bitnami
Not stated
Not evaluated
valkey
Bitnami
before 8.1.4
8.1.4
redict
Debian:14
before 7.3.5+ds-1, plus listed versions
7.3.0+ds-17.3.0+ds-27.3.0+ds-37.3.0+ds-3~bpo12+17.3.1+ds-17.3.2+ds-17.3.2+ds-1~bpo12+17.3.5+ds-1~bpo12+1
7.3.5+ds-1
redis
Debian:12
All versions, plus listed versions
5:7.0.11-15:7.0.11-1+deb12u15:7.0.12-15:7.0.12-25:7.0.13-1
Show 42 moreShow less
5:7.0.13-25:7.0.14-15:7.0.14-25:7.0.15-15:7.0.15-1~deb12u15:7.0.15-1~deb12u25:7.0.15-1~deb12u35:7.0.15-1~deb12u45:7.0.15-1~deb12u55:7.0.15-1~deb12u65:7.0.15-1~deb12u75:7.0.15-1~deb12u85:7.0.15-1~deb12u95:7.0.15-25:7.0.15-35:7.0.15-3.15:7.2-rc2-15:7.2-rc3-15:7.2.0-15:7.2.0-25:7.2.1-15:7.2.1-25:7.2.2-15:7.2.2-25:7.2.3-15:7.2.4-15:7.2.5-15:7.2.5-25:7.2.5-35:7.2~rc1-15:8.0.0-15:8.0.0-25:8.0.2-25:8.0.2-35:8.0.4-15:8.0.5-15:8.0.6-15:8.0.6-25:8.4.0-15:8.6.1-15:8.6.2-15:8.6.3-1
None known
redis
Debian:13
All versions, plus listed versions
5:8.0.2-35:8.0.2-3+deb13u15:8.0.2-3+deb13u25:8.0.4-15:8.0.5-1
Show 6 moreShow less
5:8.0.6-15:8.0.6-25:8.4.0-15:8.6.1-15:8.6.2-15:8.6.3-1
None known
Show 28 moreShow less
Affected packages
PackageAffectedFixed
redis
Debian:14
All versions, plus listed versions
5:8.0.2-35:8.0.4-15:8.0.5-15:8.0.6-15:8.0.6-2
Show 4 moreShow less
5:8.4.0-15:8.6.1-15:8.6.2-15:8.6.3-1
None known
valkey
Debian:13
before 8.1.1+dfsg1-2
8.1.1+dfsg1-2
valkey
Debian:14
before 8.1.1+dfsg1-2
8.1.1+dfsg1-2
redis
openEuler:22.03-LTS-SP3
From an advisory covering 2 CVEs
before 7.2.9-2.oe2203sp3
7.2.9-2.oe2203sp3
redis
openEuler:22.03-LTS-SP4
From an advisory covering 2 CVEs
before 7.2.9-2.oe2203sp4
7.2.9-2.oe2203sp4
redis
openEuler:24.03-LTS
From an advisory covering 2 CVEs
before 7.2.9-2.oe2403sp1
7.2.9-2.oe2403sp1
redis
openEuler:24.03-LTS-SP1
From an advisory covering 2 CVEs
before 7.2.9-2.oe2403sp1
7.2.9-2.oe2403sp1
redis
openEuler:20.03-LTS-SP4
From an advisory covering 2 CVEs
before 7.2.9-2.oe2003sp4
7.2.9-2.oe2003sp4
valkey
SUSE:Linux Enterprise Module for Server Applications 15 SP7
From an advisory covering 3 CVEs
before 8.0.2-150700.3.5.1
8.0.2-150700.3.5.1
valkey
SUSE:Linux Enterprise Module for Server Applications 15 SP6
From an advisory covering 2 CVEs
before 8.0.2-150600.13.11.1
8.0.2-150600.13.11.1
valkey
openSUSE:Leap 15.6
From an advisory covering 2 CVEs
before 8.0.2-150600.13.11.1
8.0.2-150600.13.11.1
redis
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
2:2.6.13-12:2.6.16-32:2.8.0-12:2.8.2-12:2.8.4-2
Show 6 moreShow less
2:2.8.4-2ubuntu0.22:2.8.4-2ubuntu0.2+esm12:2.8.4-2ubuntu0.2+esm22:2.8.4-2ubuntu0.2+esm32:2.8.4-2ubuntu0.2+esm42:2.8.4-2ubuntu0.2+esm5
None known
redis
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
2:3.0.3-32:3.0.5-12:3.0.5-22:3.0.5-32:3.0.5-4
Show 9 moreShow less
2:3.0.6-12:3.0.6-1ubuntu0.22:3.0.6-1ubuntu0.32:3.0.6-1ubuntu0.42:3.0.6-1ubuntu0.4+esm12:3.0.6-1ubuntu0.4+esm22:3.0.6-1ubuntu0.4+esm32:3.0.6-1ubuntu0.4+esm42:3.0.6-1ubuntu0.4+esm5
None known
redis
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
4:4.0.1-74:4.0.2-64:4.0.2-95:4.0.5-15:4.0.6-1
Show 13 moreShow less
5:4.0.6-25:4.0.7-15:4.0.8-15:4.0.8-25:4.0.9-15:4.0.9-1ubuntu0.15:4.0.9-1ubuntu0.25:4.0.9-1ubuntu0.2+esm25:4.0.9-1ubuntu0.2+esm35:4.0.9-1ubuntu0.2+esm45:4.0.9-1ubuntu0.2+esm55:4.0.9-1ubuntu0.2+esm65:4.0.9-1ubuntu0.2+esm7
None known
redis
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
5:5.0.5-2build15:5.0.6-15:5.0.7-15:5.0.7-25:5.0.7-2ubuntu0.1~esm1
Show 5 moreShow less
5:5.0.7-2ubuntu0.15:5.0.7-2ubuntu0.1+esm15:5.0.7-2ubuntu0.1+esm25:5.0.7-2ubuntu0.1+esm35:5.0.7-2ubuntu0.1+esm4
None known
redis
Ubuntu:Pro:22.04:LTS
All versions, plus listed versions
5:6.0.15-15:6.0.16-15:6.0.16-1build15:6.0.16-1ubuntu15:6.0.16-1ubuntu1+esm1
Show 5 moreShow less
5:6.0.16-1ubuntu1+esm25:6.0.16-1ubuntu1.15:6.0.16-1ubuntu1.1+esm15:6.0.16-1ubuntu1.25:6.0.16-1ubuntu1.2+esm1
None known
redis
Ubuntu:24.04:LTS
All versions, plus listed versions
5:7.0.12-15:7.0.14-15:7.0.14-25:7.0.15-15:7.0.15-1build1
Show 6 moreShow less
5:7.0.15-1build25:7.0.15-1ubuntu0.24.04.15:7.0.15-1ubuntu0.24.04.25:7.0.15-1ubuntu0.24.04.35:7.0.15-1ubuntu0.24.04.45:7.0.15-1ubuntu0.24.04.5
None known
valkey
Ubuntu:24.04:LTS
before 7.2.11+dfsg1-0ubuntu0.2, plus listed versions
7.2.5+dfsg1-2ubuntu4~24.04.17.2.7+dfsg1-0ubuntu0.24.04.17.2.8+dfsg1-0ubuntu0.24.04.17.2.8+dfsg1-0ubuntu0.24.04.27.2.8+dfsg1-0ubuntu0.24.04.37.2.10+dfsg1-0ubuntu0.17.2.11+dfsg1-0ubuntu0.1
7.2.11+dfsg1-0ubuntu0.2
redict
Ubuntu:25.10
All versions, plus listed versions
7.3.2+ds-17.3.5+ds-17.3.5+ds-1ubuntu0.17.3.5+ds-1ubuntu0.2
None known
redis
Ubuntu:25.10
All versions, plus listed versions
5:7.0.15-35:7.0.15-3.15:8.0.2-35:8.0.2-3build15:8.0.2-3ubuntu0.25.10.1
None known
valkey
Ubuntu:25.10
before 8.1.4+dfsg1-0ubuntu0.2, plus listed versions
8.0.2+dfsg1-1ubuntu18.1.1+dfsg1-2ubuntu18.1.3+dfsg1-0ubuntu18.1.3+dfsg1-0ubuntu28.1.4+dfsg1-0ubuntu0.1
8.1.4+dfsg1-0ubuntu0.2
redict
Ubuntu:26.10
All versions, plus listed versions
7.3.6+ds-17.3.6+ds-27.3.6+ds-2build1
None known
redis
Ubuntu:26.10
All versions, plus listed versions
5:8.0.5-15:8.0.6-25:8.0.6-2build15:8.0.6-3
None known
redict
Ubuntu:26.04:LTS
All versions, plus listed versions
7.3.5+ds-17.3.5+ds-1ubuntu0.17.3.6+ds-1
None known
redis
Ubuntu:26.04:LTS
All versions, plus listed versions
5:8.0.2-3build15:8.0.2-3ubuntu0.25.10.15:8.0.5-15:8.0.5-1ubuntu0.1
None known
valkey
Ubuntu:24.04:LTS
From an advisory covering 5 CVEs
before 7.2.11+dfsg1-0ubuntu0.2, plus listed versions
7.2.5+dfsg1-2ubuntu4~24.04.17.2.7+dfsg1-0ubuntu0.24.04.17.2.8+dfsg1-0ubuntu0.24.04.17.2.8+dfsg1-0ubuntu0.24.04.27.2.8+dfsg1-0ubuntu0.24.04.37.2.10+dfsg1-0ubuntu0.17.2.11+dfsg1-0ubuntu0.1
7.2.11+dfsg1-0ubuntu0.2
valkey
Ubuntu:25.10
From an advisory covering 5 CVEs
before 8.1.4+dfsg1-0ubuntu0.2, plus listed versions
8.0.2+dfsg1-1ubuntu18.1.1+dfsg1-2ubuntu18.1.3+dfsg1-0ubuntu18.1.3+dfsg1-0ubuntu28.1.4+dfsg1-0ubuntu0.1
8.1.4+dfsg1-0ubuntu0.2
valkey
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 8.1.2-1.1
8.1.2-1.1

Not evaluated means the source gave git commits or a range we can't read, so we can't tell which releases are affected. A fixed version beside it is the source’s own claim.

History

History
RecordedChangedSources
affected
factsOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-49112 is a low vulnerability (CVSS 3.1) in Valkey, published June 2, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.26%, the 17th percentile. Fixed in valkey 8.0.3-3.

References

Show 21 moreShow less
MoveEnter Open