Integer overflow in Redis
CVE-2023-25155
Redis is an in-memory database that persists on disk. Authenticated users issuing specially crafted `SRANDMEMBER`, `ZRANDMEMBER`, and `HRANDFIELD` commands can trigger an integer overflow, resulting in a runtime assertion and termination of the Redis server process. This problem affects all Redis versions. Patches were released in Redis version(s) 6.0.18, 6.2.11 and 7.0.9.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.009, 60.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Redis — versions < 6.0.18, >= 7.0.0, < 7.0.9, >= 6.2.0, < 6.2.11
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- qwqqaqqwq00/opensource_defect_repare_cc (last pushed 2026-07-03): Redis 7.0.0 核心模块重构与漏洞修复交付(重构 sds/adlist/intset/listpack,相似度≤20%;修复 CVE-2023-25155/28856、CVE-2024-31449、CVE-2022-36021、CVE-2022-31144 等漏洞)
- qwqqaqqwq00/opensource_defect_repair_cc (last pushed 2026-07-03): Redis 7.0.0 核心模块重构与漏洞修复交付(重构 sds/adlist/intset/listpack,相似度≤20%;修复 CVE-2023-25155/28856、CVE-2024-31449、CVE-2022-36021、CVE-2022-31144 等漏洞)
References
- https://github.com/redis/redis/security/advisories/GHSA-x2r7-j9vw-3w83 (Vendor Advisory)
- https://github.com/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619 (Patch)
- https://github.com/redis/redis/releases/tag/6.0.18 (Release Notes)
- https://github.com/redis/redis/releases/tag/6.2.11 (Release Notes)
- https://github.com/redis/redis/releases/tag/7.0.9 (Release Notes)
This CVE has public exploit evidence. See the latest CVEs with public exploits.