Redis allows out of bounds writes in hyperloglog commands leading to RCE (redis redis)
At a glance
- Source
- NVD
- EPSS
- EPSS 6.47 % · percentile 94 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Modified
Description
Redis is an open source, in-memory database that persists on disk. From 2.8 to before 8.0.3, 7.4.5, 7.2.10, and 6.2.19, an authenticated user may use a specially crafted string to trigger a stack/heap out of bounds write on hyperloglog operations, potentially leading to remote code execution. The bug likely affects all Redis versions with hyperloglog operations implemented. This vulnerability is fixed in 8.0.3, 7.4.5, 7.2.10, and 6.2.19. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing hyperloglog operations. This can be done using ACL to restrict HLL commands.
Weaknesses (CWE)
- CWE-680 — Integer Overflow to Buffer Overflow
References
- https://github.com/redis/redis/security/advisories/GHSA-rp2m-q4j6-gr43
- https://github.com/redis/redis/commit/50188747cbfe43528d2719399a2a3c9599169445
- https://github.com/redis/redis/releases/tag/6.2.19
- https://github.com/redis/redis/releases/tag/7.2.10
- https://github.com/redis/redis/releases/tag/7.4.5
- https://github.com/redis/redis/releases/tag/8.0.3
- https://www.exploit-db.com/exploits/52477
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2025-20233
- GCVE · GCVE-0-2025-32023
CERT-FR advisories
- CERTFR-2026-AVI-1125 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*≥ 2.8.0 < 6.2.19cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*≥ 7.2.0 < 7.2.10cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*≥ 7.4.0 < 7.4.5cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*≥ 8.0.0 < 8.0.3
Affected products
| Product | Versions |
|---|---|
| redis · redis | affected >= 8.0.0, < 8.0.3 ; affected >= 7.4-rc1, < 7.4.5 ; affected >= 7.0.0, < 7.2.10 ; affected >= 2.8.0, < 6.2.19 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |