Integer Overflow or Wraparound Affecting valkey-io/valkey package, versions [,7.2.11)[8.0.0-rc1,8.0.6)[8.1.0-rc1,8.1.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.02% (60th 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-VALKEYIOVALKEY-15036203
  • published19 Jan 2026
  • disclosed3 Oct 2025
  • creditzhutyra

Introduced: 3 Oct 2025

CVE-2025-46819  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade valkey-io/valkey to version 7.2.11, 8.0.6, 8.1.4 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. An attacker can cause the server to read out-of-bounds memory or crash the process by submitting specially crafted scripts via the EVAL or FUNCTION commands.

Note:

This is only exploitable if the attacker has a valid authenticated account with permission to execute Lua scripts.

Workaround

This vulnerability can be mitigated by using ACLs to block script execution by restricting both the EVAL and FUNCTION command families, disabling or limiting Lua scripting, enforcing strong authentication, and restricting network access to trusted hosts.

CVSS Base Scores

version 4.0
version 3.1