All reports
Low

valkey: Valkey Integer Underflow Vulnerability

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-49112

Probability of exploitation in the next 30 days: 0.26%

FIRST EPSS · 2026-11-22

Description

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

A flaw was found in valkey. An integer underflow in the setDeferredReply function of networking.c allows an adjacent network attacker to potentially trigger unexpected behavior. This underflow occurs when calculating prev->size - prev->used, leading to a condition that may result in a denial of service. The vulnerability is triggered by processing a specially crafted network packet.