CVE-2021-32762: debian debian_linux Integer Overflow or Wraparound
Vulnerability summary
CVE-2021-32762 is a high (CVSS 9.0) Integer Overflow or Wraparound vulnerability in debian debian_linux. EPSS estimates a 2.56% chance of exploitation in the next 30 days, higher than 84.8% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 6 · Related 3Timeline
- 04-10-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
2.56%
Chance of exploitation in the next 30 days
Percentile
85%
Versus all other CVEs
30-day change
-0.13 pp
From 2.69% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
- CWE-680Integer Overflow to Buffer OverflowThe product performs a calculation to determine how much memory to allocate, but an integer overflow can occur that causes less memory to be allocated than expected, leading to a buffer overflow.
Affected systems
Debian2 products
- redis< 5:6.0.16-1
- debian_linuxEOL10.0 | 11.0
Netapp2 products
Ubuntu2 products
- hiredisAll versions (No fix recorded)
- webdisAll versions (No fix recorded)
Alpine1 product
- redis≥ 5.0.0, < 5.0.14-r0 | ≥ 5.0.0, < 6.0.16-r0 | ≥ 5.0.0, < 6.2.6-r0
Fedoraproject1 product
- fedoraEOL33 | 34 | 35
Oracle1 product
- communications_operations_monitor4.3 | 4.4 | 5.0
Redis1 product
- redis< 5.0.14 | ≥ 5.0.0, < 5.0.14 | ≥ 6.0.0, < 6.0.16 | ≥ 6.2.0, < 6.2.6
7 vendors · 10 products
References
14 links- github.com/redis/redis/security/advisories/GHSA-833w-8v3m-8wwrX Refsource CONFIRMREPORTThird Party Advisory
- github.com/redis/redis/commit/0215324a66af949be39b34be2d55143232c1cb71X Refsource MISCREPORTPatchThird Party Advisory