Skip to main content
Network Thinking Solutions Logo

CVE-2021-32762

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.

All CVEs
CVE-2021-32762Published 10/4/2021

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.

Vendor advisory
CVSS8.8High

Overview

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
10/4/2021
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
redis
redis
≥ 5.0.0, < 5.0.14

Verify advisory

Source
redis
redis
≥ 6.0.0, < 6.0.16

Verify advisory

Source
redis
redis
≥ 6.2.0, < 6.2.6

Verify advisory

Source
debian linux
debian
10.0

Verify advisory

Source
debian linux
debian
11.0

Verify advisory

Source
fedora
fedoraproject
33

Verify advisory

Source
fedora
fedoraproject
34

Verify advisory

Source
fedora
fedoraproject
35

Verify advisory

Source
management services for element software
netapp
Range not specified — verify advisory

Verify advisory

Source
management services for netapp hci
netapp
Range not specified — verify advisory

Verify advisory

Source
communications operations monitor
oracle
4.3

Verify advisory

Source
communications operations monitor
oracle
4.4

Verify advisory

Source
communications operations monitor
oracle
5.0

Verify advisory

Source
redis
redis
< 5.0.14

Verify advisory

Source
redis
redis
>= 6.0.0, < 6.0.16

Verify advisory

Source
redis
redis
>= 6.2.0, < 6.2.6

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.