Skip to main content
Network Thinking Solutions Logo

CVE-2021-32626

Redis is an open source, in-memory database that persists on disk. In affected versions specially crafted Lua scripts executing in Redis can cause the heap-based Lua stack to be overflowed, due to incomplete checks for this condition. This can result with heap corruption and potentially remote code execution.

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

Redis is an open source, in-memory database that persists on disk. In affected versions specially crafted Lua scripts executing in Redis can cause the heap-based Lua stack to be overflowed, due to incomplete checks for this condition. This can result with heap corruption and potentially remote code execution.

Vendor advisory
CVSS8.8High

Overview

Redis is an open source, in-memory database that persists on disk. In affected versions specially crafted Lua scripts executing in Redis can cause the heap-based Lua stack to be overflowed, due to incomplete checks for this condition. This can result with heap corruption and potentially remote code execution. This problem exists in all versions of Redis with Lua scripting support, starting from 2.6. The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14. For users unable to update an additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.

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
≥ 2.6, < 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
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
debian linux
debian
10.0

Verify advisory

Source
debian linux
debian
11.0

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
>= 6.2.0, < 6.2.6

Verify advisory

Source
redis
redis
>= 6.0.0, < 6.0.16

Verify advisory

Source
redis
redis
>= 2.6.0, < 5.0.14

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.