Integer Underflow Affecting valkey package, versions <7.2.11+dfsg1-0ubuntu0.2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.25% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2404-VALKEY-10292722
  • published27 Nov 2025
  • disclosed2 Jun 2025

Introduced: 2 Jun 2025

CVE-2025-49112  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.04 valkey to version 7.2.11+dfsg1-0ubuntu0.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream valkey package and not the valkey package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1