CVE-2021-32762
CVE-2021-32762 — Integer overflow that can lead to heap overflow in redis-cli, redis-sentinel on some platforms
Redis is an open source, in-memory database that persists on disk. The redis-cli command line tool and redis-sentinel service may be vulnerable to integer overflow when parsing specially crafted large multi-bulk network replies. This is a result of a vulnerability in the underlying hiredis library which does not perform an overflow check before calling the calloc() heap allocation function. This issue only impacts systems with heap allocators that do not perform their own overflow checks. Most modern systems do and are therefore not likely to be affected. Furthermore, by default redis-sentinel uses the jemalloc allocator which is also not vulnerable. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
3%
chance of exploitation in 30 days
CVSS base
7.5
HIGH
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.5 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-190
- CWE-680
References
9 on the record
- github.com/redis/redis/security/advisories/GHSA-833w-8v3m-8wwr
x_refsource_CONFIRM
- github.com/redis/redis/commit/0215324a66af949be39b34be2d55143232c1cb71
x_refsource_MISC
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VL5KXFN3ATM7IIM7Q4O4PWTSRGZ5744Z/
vendor-advisory, x_refsource_FEDORA
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HTYQ5ZF37HNGTZWVNJD3VXP7I6MEEF42/
vendor-advisory, x_refsource_FEDORA
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WR5WKJWXD4D6S3DJCZ56V74ESLTDQRAB/
vendor-advisory, x_refsource_FEDORA
- www.debian.org/security/2021/dsa-5001
vendor-advisory, x_refsource_DEBIAN
- www.oracle.com/security-alerts/cpuapr2022.html
x_refsource_MISC
- security.netapp.com/advisory/ntap-20211104-0003/
x_refsource_CONFIRM
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2022-0543 Debian-specific Redis Server Lua Sandbox Escape VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2025-49844 Redis Lua Use-After-Free may lead to remote code executionCVSS 9.9
- CVE-2026-25243 redis-server RESTORE invalid memory access may allow remote code executionCVSS 8.8
- CVE-2026-23631 redis-server Lua use-after-free may allow remote code executionCVSS 8.1
- CVE-2021-32675 DoS vulnerability in RedisCVSS 7.5
- CVE-2026-97229 Integer Overflow or Wraparound in GitLabCVSS 10.0 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.