CVE-2025-49112 Integer overflow in Valkey
An integer underflow in Valkey's networking code can lead to a denial of service condition, requiring administrators to apply security patches.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-49112?
CVE-2025-49112 is a low-severity vulnerability in Valkey, published on 2 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
setDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow for prev->size - prev->used.
Weakness: CWE-191
Which versions are affected by CVE-2025-49112?
3 open source packages ship an affected version, including valkey, keydb and redis.
| Package | Affected | Fixed in |
|---|---|---|
valkey Bitnami | All versions | 8.1.4 |
keydb Bitnami | All versions | None |
redis Bitnami | All versions | None |
How do I fix CVE-2025-49112?
Upgrade valkey to 8.1.4 or later.
Is CVE-2025-49112 being exploited?
There is no known exploitation of CVE-2025-49112 in the wild and no public exploit code.
Sources
Also known as AZL-62243, BELL-CVE-2025-49112, BIT-keydb-2025-49112, BIT-redis-2025-49112, BIT-valkey-2025-49112, DEBIAN-CVE-2025-49112 and 12 more.