CVE-2021-32626 in Debian Linux and 5 more products
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 p...
Affects 6 products from 5 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 10.0 11.0 |
| Fedoraproject | Fedora | 33 34 35 |
| Netapp | Management Services For Element Software | No version listed by the source |
| Netapp | Management Services For Netapp Hci | No version listed by the source |
| Oracle | Communications Operations Monitor | 4.3 4.4 5.0 |
| Redis | Redis | ≥ 2.6, < 5.0.14 ≥ 6.0.0, < 6.0.16 ≥ 6.2.0, < 6.2.6 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-32626 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-275575-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-10-04 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-122: Heap-Based Buffer Overflow
Buffer overflow corrupting dynamically allocated heap memory, exploitable for arbitrary code execution.
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Related attack patterns (CAPEC)
CAPEC-92 Forced Integer Overflow via CWE-122
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Redis versions with Lua scripting support are vulnerable to heap-based buffer overflow via specially crafted Lua scripts, leading to heap corruption and potential remote code execution.
An attacker can exploit this vulnerability by sending specially crafted Lua scripts to the Redis server, which can cause a heap-based buffer overflow due to incomplete checks for stack size limits.
Questions
What is CVE-2021-32626?
Redis versions with Lua scripting support are vulnerable to heap-based buffer overflow via specially crafted Lua scripts, leading to heap corruption and potential remote code execution.
What is the CVSS score for CVE-2021-32626?
CVE-2021-32626 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 15.6%.
Is CVE-2021-32626 actively exploited?
No confirmed active exploitation of CVE-2021-32626 as of 2026-09-25.
How do I remediate CVE-2021-32626?
Priority: IMMEDIATE.
What systems are affected by CVE-2021-32626?
CVE-2021-32626 affects Debian Debian Linux; Fedoraproject Fedora; Netapp Management Services For Element Software, Management Services For Netapp Hci; Oracle Communications Operations Monitor; Redis Redis.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.