Out-of-bounds Read in Redis

CVE-2025-46819

Redis is an open source, in-memory database that persists on disk. Versions 8.2.1 and below allow an authenticated user to use a specially crafted LUA script to read out-of-bound data or crash the server and subsequent denial of service. The problem exists in all versions of Redis with Lua scripting. This issue is fixed in version 8.2.2. To workaround this issue without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to block a script by restricting both the EVAL and FUNCTION command families.

Vulnerability class: Integer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H.

EPSS exploit prediction

EPSS 0.011, 65.6th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Redis — versions < 8.2.2

Weakness classification (CWE)

Public exploits and proof-of-concept code

1 public repository with exploit or proof-of-concept code for this CVE:

  • dwisiswant0/CVE-2025-46819 (5 stars, last pushed 2025-10-07): CVE-2025-46819 – Redis Lua Long-String Delimiter Out-of-Bounds Read

Also mentioned in 4 other repositories (ARPSyndicate/cve-scores, CrackerCat/feed, nomi-sec/PoC-in-GitHub, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References