9

CVE-2021-32762: Integer overflow that can lead to heap overflow in redis-cli, redis-sentinel on some platforms

Modified
AliasesALPINE-CVE-2021-32762UBUNTU-CVE-2021-32762DEBIAN-CVE-2021-32762
Published 04-10-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-32762 is a high (CVSS 9.0) Integer Overflow or Wraparound vulnerability in debian debian_linux. EPSS estimates a 2.58% chance of exploitation in the next 30 days, higher than 85.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
9.0/10
010
High · v2.0 (NVD)
EPSS score
2.58%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 3

Timeline

  1. 04-10-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last 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

EPSS trend

Probability

2.58%

Chance of exploitation in the next 30 days

Percentile

86%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.58% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
Netapp2 products
Ubuntu2 products
  • hiredisAll versions (No fix recorded)
  • webdisAll versions (No fix recorded)
Alpine1 product
  • redis≥ 5.0.0, < 6.0.16-r0 | ≥ 5.0.0, < 6.2.6-r0 | ≥ 5.0.0, < 5.0.14-r0 | ≥ 6.0.0, < 6.0.16-r0 | ≥ 6.2.0, < 6.2.6-r0
Fedoraproject1 product
Oracle1 product
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
Show all 14 references