Read the docs
TI-2021-12429 Aliases CVE-2021-32762

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

Priority MEDIUM 43CWE-190Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.02579 85th percentileScored 2026-11-07
Fix Partial redis (redis): 5.0.14, 6.0.16, 6.2.6Red Hat: 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Redisredisbefore 5.0.14; 6.0.0 to before 6.0.16; 6.2.0 to before 6.2.65.0.14, 6.0.16, 6.2.6Patch availableCNA
  • redis VendorRedis Affected before 5.0.14; 6.0.0 to before 6.0.16; 6.2.0 to before 6.2.6 Fixed in 5.0.14, 6.0.16, 6.2.6 Patch available CNA

CPE configurations NVD · 11

CPEVersionsRoleVendor
cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*5.0.0 to before 5.0.14; 6.0.0 to before 6.0.16; 6.2.0 to before 6.2.6VulnerableRedis
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*11.0VulnerableDebian
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*33VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*34VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*35VulnerableFedoraproject
cpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:*not specified by NVDVulnerableNetApp
cpe:2.3:a:netapp:management_services_for_netapp_hci:-:*:*:*:*:*:*:*not specified by NVDVulnerableNetApp
cpe:2.3:a:oracle:communications_operations_monitor:4.3:*:*:*:*:*:*:*4.3VulnerableOracle
cpe:2.3:a:oracle:communications_operations_monitor:4.4:*:*:*:*:*:*:*4.4VulnerableOracle
  • cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* Versions 5.0.0 to before 5.0.14; 6.0.0 to before 6.0.16; 6.2.0 to before 6.2.6 Vulnerable ·Redis
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
  • cpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
  • cpe:2.3:a:netapp:management_services_for_netapp_hci:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
  • cpe:2.3:a:oracle:communications_operations_monitor:4.3:*:*:*:*:*:*:* Versions 4.3 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:communications_operations_monitor:4.4:*:*:*:*:*:*:* Versions 4.4 Vulnerable ·Oracle
Show 1 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:oracle:communications_operations_monitor:5.0:*:*:*:*:*:*:*5.0VulnerableOracle
  • cpe:2.3:a:oracle:communications_operations_monitor:5.0:*:*:*:*:*:*:* Versions 5.0 Vulnerable ·Oracle

Remediation

  • Fix · CNA redis (redis) Fixed in 5.0.14, 6.0.16, 6.2.6

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    redis — FEDORA-2021-61c487f241

    8 records Highest priority Priority MEDIUM 6 MEDIUM, 2 LOW

    Other records, highest priority first

    • TI-2021-12295 Lua scripts can overflow the heap-based Lua stack in RedisPriority MEDIUM 55
    • TI-2021-12343 DoS vulnerability in RedisPriority MEDIUM 49
    • TI-2021-12297 Vulnerability in handling large ziplistsPriority MEDIUM 48
  • Advisory ·

    redis — FEDORA-2021-8913c7900c

    8 records Highest priority Priority MEDIUM 6 MEDIUM, 2 LOW

    Other records, highest priority first

    • TI-2021-12295 Lua scripts can overflow the heap-based Lua stack in RedisPriority MEDIUM 55
    • TI-2021-12343 DoS vulnerability in RedisPriority MEDIUM 49
    • TI-2021-12297 Vulnerability in handling large ziplistsPriority MEDIUM 48
Show 1 more group
  • Advisory ·

    redis — FEDORA-2021-aa94492a09

    8 records Highest priority Priority MEDIUM 6 MEDIUM, 2 LOW

    Other records, highest priority first

    • TI-2021-12295 Lua scripts can overflow the heap-based Lua stack in RedisPriority MEDIUM 55
    • TI-2021-12343 DoS vulnerability in RedisPriority MEDIUM 49
    • TI-2021-12297 Vulnerability in handling large ziplistsPriority MEDIUM 48

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat OpenStack Platform 10 (Newton)AffectedNo fix planned: Out of support scope
Red Hat OpenStack Platform 13 (Queens)AffectedNo fix planned: Out of support scope
Not affected: 7 products
  • Red Hat 3scale API Management Platform 2
  • Red Hat Advanced Cluster Management for Kubernetes 2
  • Red Hat Ansible Automation Platform 1.2
  • Red Hat Ansible Tower 3
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Software Collections

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-32762

References

  • TI-2022-00463 Missing authorization in Debian redis KEVCVSS 3.1CRITICAL 10.0
  • TI-2025-31759 Redis Lua Use-After-Free may lead to remote code execution CVSS 3.1CRITICAL 10.0
  • TI-2023-18618 Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis CVSS 3.1HIGH 8.8
  • TI-2024-20813 Lua library commands may lead to stack overflow and RCE in Redis CVSS 3.1HIGH 8.8
  • TI-2022-08647 Heap overflow issue with the Lua cjson library used by Redis CVSS 3.1HIGH 8.8
  • TI-2022-08549 Lua scripts can be manipulated to overcome ACL rules in Redis CVSS 3.1HIGH 7.8
See all 45 →

Sources