Integer Underflow (Wrap or Wraparound) Affecting valkey-io/valkey package, versions [7.2.4-rc1,9.0.0-rc1)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (6th 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-UNMANAGED-VALKEYIOVALKEY-10658565
  • published8 Jul 2025
  • disclosed2 Jun 2025
  • creditUnknown

Introduced: 2 Jun 2025

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

How to fix?

Upgrade valkey-io/valkey to version 9.0.0-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Integer Underflow (Wrap or Wraparound) through the setDeferredReply function. An attacker can cause an application crash by sending crafted packets that trigger an integer underflow.

CVSS Base Scores

version 4.0
version 3.1