# CVE-2025-49112: setDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow

CVE-2025-49112 is fixed in 9 products on 1 platform, first by DEBIAN-CVE-2025-49112, released June 2, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-49112
- Priority: Routine
- CVSS: 3.1 (Low)
- EPSS: 0.0026
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 1, 2025
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-49112

## Description

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | redict Debian 14 | 7.3.5+ds-1 | [DEBIAN-CVE-2025-49112](https://patchblox.com/security/data/fix/linux/debian-cve-2025-49112.md) | Jun 2, 2025 |
| Linux | valkey Debian 13.5 (trixie) | 8.1.1+dfsg1-2 | [DEBIAN-CVE-2025-49112](https://patchblox.com/security/data/fix/linux/debian-cve-2025-49112.md) | Jun 2, 2025 |
| Linux | valkey Debian 14 | 8.1.1+dfsg1-2 | [DEBIAN-CVE-2025-49112](https://patchblox.com/security/data/fix/linux/debian-cve-2025-49112.md) | Jun 2, 2025 |
| Linux | valkey amzn 2023 | 8.0.3-3.amzn2023.0.2 | [ALAS2023-2025-1025](https://patchblox.com/security/data/fix/linux/alas2023-2025-1025.md) | Jun 18, 2025 |
| Linux | valkey opensuse-leap 15.6 | 8.0.2-150600.13.11.1 | [SUSE-SU-2025:02231-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02231-1.md) | Jul 7, 2025 |
| Linux | valkey sles 15.6 | 8.0.2-150600.13.11.1 | [SUSE-SU-2025:02231-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02231-1.md) | Jul 7, 2025 |
| Linux | valkey sles 15.7 | 8.0.2-150700.3.5.1 | [SUSE-SU-2025:01942-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-01942-1.md) | Jun 13, 2025 |
| Linux | valkey-debuginfo amzn 2023 | 8.0.3-3.amzn2023.0.2 | [ALAS2023-2025-1025](https://patchblox.com/security/data/fix/linux/alas2023-2025-1025.md) | Jun 18, 2025 |
| Linux | valkey-debugsource amzn 2023 | 8.0.3-3.amzn2023.0.2 | [ALAS2023-2025-1025](https://patchblox.com/security/data/fix/linux/alas2023-2025-1025.md) | Jun 18, 2025 |
| Linux | valkey-devel amzn 2023 | 8.0.3-3.amzn2023.0.2 | [ALAS2023-2025-1025](https://patchblox.com/security/data/fix/linux/alas2023-2025-1025.md) | Jun 18, 2025 |
| Linux | valkey-redis-compat Ubuntu 24.04.5 LTS (noble) | 7.2.11+dfsg1-0ubuntu0.2 | [valkey-redis-compat 7.2.11+dfsg1-0ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-valkey-redis-compat-7.2.11-dfsg1-0ubuntu0.2.md) | Oct 3, 2025 |
| Linux | valkey-redis-compat Ubuntu 25.04 (plucky) | 8.0.6+dfsg1-0ubuntu0.2 | [valkey-redis-compat 8.0.6+dfsg1-0ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-valkey-redis-compat-8.0.6-dfsg1-0ubuntu0.2.md) | Jan 16, 2026 |
| Linux | valkey-sentinel Ubuntu 24.04.5 LTS (noble) | 7.2.11+dfsg1-0ubuntu0.2 | [valkey-sentinel 7.2.11+dfsg1-0ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-valkey-sentinel-7.2.11-dfsg1-0ubuntu0.2.md) | Oct 3, 2025 |
| Linux | valkey-sentinel Ubuntu 25.04 (plucky) | 8.0.6+dfsg1-0ubuntu0.2 | [valkey-sentinel 8.0.6+dfsg1-0ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-valkey-sentinel-8.0.6-dfsg1-0ubuntu0.2.md) | Jan 16, 2026 |
| Linux | valkey-sentinel Ubuntu 25.10 (questing) | 8.1.4+dfsg1-0ubuntu0.2 | [valkey-sentinel 8.1.4+dfsg1-0ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-questing-valkey-sentinel-8.1.4-dfsg1-0ubuntu0.2.md) | Oct 3, 2025 |
| Linux | valkey-server Ubuntu 24.04.5 LTS (noble) | 7.2.11+dfsg1-0ubuntu0.2 | [valkey-server 7.2.11+dfsg1-0ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-valkey-server-7.2.11-dfsg1-0ubuntu0.2.md) | Oct 3, 2025 |
| Linux | valkey-server Ubuntu 25.04 (plucky) | 8.0.6+dfsg1-0ubuntu0.2 | [valkey-server 8.0.6+dfsg1-0ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-valkey-server-8.0.6-dfsg1-0ubuntu0.2.md) | Jan 16, 2026 |
| Linux | valkey-server Ubuntu 25.10 (questing) | 8.1.4+dfsg1-0ubuntu0.2 | [valkey-server 8.1.4+dfsg1-0ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-questing-valkey-server-8.1.4-dfsg1-0ubuntu0.2.md) | Oct 3, 2025 |
| Linux | valkey-tools Ubuntu 24.04.5 LTS (noble) | 7.2.11+dfsg1-0ubuntu0.2 | [valkey-tools 7.2.11+dfsg1-0ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-valkey-tools-7.2.11-dfsg1-0ubuntu0.2.md) | Oct 3, 2025 |
| Linux | valkey-tools Ubuntu 25.04 (plucky) | 8.0.6+dfsg1-0ubuntu0.2 | [valkey-tools 8.0.6+dfsg1-0ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-valkey-tools-8.0.6-dfsg1-0ubuntu0.2.md) | Jan 16, 2026 |
| Linux | valkey-tools Ubuntu 25.10 (questing) | 8.1.4+dfsg1-0ubuntu0.2 | [valkey-tools 8.1.4+dfsg1-0ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-questing-valkey-tools-8.1.4-dfsg1-0ubuntu0.2.md) | Oct 3, 2025 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
