cve.bz

CVE-2021-32762 Year 2038 problem, Y2K38, Y2038, Epochalypse

8.8 highEPSS 2.6%Fix available

High (8.8). EPSS 2.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
2.6% (unchanged from 2.6% a week ago; 2.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 86th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
CWE-680 Integer Overflow to Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-32762 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-32762?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-32762?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-32762 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redis:redisfrom 5.0.0 before 5.0.14
redis:redisfrom 6.0.0 before 6.0.16
redis:redisfrom 6.2.0 before 6.2.6
debian:debian_linux10.0
debian:debian_linux11.0
fedoraproject:fedora33
fedoraproject:fedora34
fedoraproject:fedora35
oracle:communications_operations_monitor4.3
oracle:communications_operations_monitor4.4
oracle:communications_operations_monitor5.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9redis3:3.2.6-3+deb9u8DLA-2810-1
Debian10redis5:5.0.14-1+deb10u1DSA-5001-1
Debian11redis5:6.0.16-1+deb11u1DSA-5001-1
Debian12, 13, 14redis5:6.0.16-1DEBIAN-CVE-2021-32762
Ubuntu16.04:LTSwebdisno fix listedUBUNTU-CVE-2021-32762
UbuntuPro:16.04:LTShiredisno fix listedUBUNTU-CVE-2021-32762
SUSELinux Enterprise Module for Server Applications 15 SP2, Linux Enterprise Module for Server Applications 15 SP3redis6.0.14-6.8.1SUSE-SU-2021:3772-1
openSUSELeap 15.3redis6.0.14-6.8.1openSUSE-SU-2021:3772-1
openSUSETumbleweedredis6.2.6-1.1openSUSE-SU-2024:11563-1
Alpinev3.11, v3.12redis5.0.14-r0ALPINE-CVE-2021-32762
Alpinev3.13redis6.0.16-r0ALPINE-CVE-2021-32762
Alpinev3.14, v3.15, v3.16 and 8 moreredis6.2.6-r0ALPINE-CVE-2021-32762
Azure Linux2redis6.2.6-1AZL-6851
Azure Linux3pcpno fix listedAZL-61842

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The following products are not affected by this flaw because they use `jemalloc` as default heap allocator:

* Red Hat Enterprise Linux 8

* Red Hat Software Collections

* Red Hat Advanced Cluster Management for Kubernetes

ProductPackageStateAdvisory
Red Hat 3scale API Management Platform 2redisNot affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/redisgraph-tls-rhel8Not affected
Red Hat Ansible Automation Platform 1.2redisNot affected
Red Hat Ansible Tower 3redisNot affected
Red Hat Enterprise Linux 8redis:5/redisNot affected
Red Hat Enterprise Linux 8redis:6/redisNot affected
Red Hat Enterprise Linux 9redisNot affected
Red Hat OpenStack Platform 10 (Newton)redisOut of support scope
Red Hat OpenStack Platform 13 (Queens)redisOut of support scope
Red Hat Software Collectionsrh-redis5-redisNot affected
Red Hat Software Collectionsrh-redis6-redisNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-32762.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-680 (11).

References

Check your stackJSON