CVE-2021-32761 in Debian Linux and 2 more products
Redis is an in-memory database that persists on disk. A vulnerability involving out-of-bounds read and integer overflow to buffer overflow exists starting with version 2.2 and prior to versions 5.0.13, 6.0.15, and 6.2.5. On 32-bit systems, Redis `*BIT*` command are vulnerable to integer overflow that can potentially...
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, high 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 | 9.0 10.0 11.0 |
| Fedoraproject | Fedora | 33 34 |
| Redislabs | Redis | ≥ 2.2.0, < 5.0.13 ≥ 6.0, < 6.0.15 ≥ 6.2.0, < 6.2.5 |
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 in-memory database that persists on disk. A vulnerability involving out-of-bounds read and integer overflow to buffer overflow exists starting with version 2.2 and prior to versions 5.0.13, 6.0.15, and 6.2.5. On 32-bit systems, Redis `*BIT*` command are vulnerable to integer overflow that can potentially be exploited to corrupt the heap, leak arbitrary heap contents or trigger remote code execution. The vulnerability involves changing the default `proto-max-bulk-len` configuration parameter to a very large value and constructing specially crafted commands bit commands. This problem only affects Redis on 32-bit platforms, or compiled as a 32-bit binary. Redis versions 5.0.`3m 6.0.15, and 6.2.5 contain patches for this issue. An additional workaround to mitigate the problem without patching the `redis-server` executable is to prevent users from modifying the `proto-max-bulk-len` configuration parameter. This can be done using ACL to restrict unprivileged users from using the CONFIG SET command.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-32761 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-076471-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-07-21 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-125: Out-of-Bounds Read
Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.
CWE-190: Integer Overflow or Wraparound
Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.
CWE-680: CWE-680
Related attack patterns (CAPEC)
CAPEC-8 Buffer Overflow in an API Call via CWE-680
CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-680
CAPEC-10 Buffer Overflow via Environment Variables via CWE-680
CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-680
CAPEC-24 Filter Failure through Buffer Overflow via CWE-680
Show all 12
CAPEC-45 Buffer Overflow via Symbolic Links via CWE-680
CAPEC-46 Overflow Variables and Tags via CWE-680
CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-680
CAPEC-67 String Format Overflow in syslog() via CWE-680
CAPEC-92 Forced Integer Overflow via CWE-190, CWE-680
CAPEC-100 Overflow Buffers via CWE-680
CAPEC-540 Overread Buffers via CWE-125
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2021. A high severity vulnerability affects Debian systems (CVE-2021-32761). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: Redis is an in-memory database that persists on disk. A vulnerability involving out-of-bounds read and integer overflow to buffer overflow exists starting with version 2.2 and prior to versions 5.0.13, 6.0.15, and 6.2.5. On 32-bit systems, Redis `*BIT*` command are vulnerable to integer overflow that can potentially be exploited to corrupt the heap, leak arbitrary heap contents or trigger remote code execution. The vulnerability involves changing the default `proto-max-bulk-len` configuration pa CVSS vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
Questions
What is CVE-2021-32761?
This vulnerability was disclosed in 2021. A high severity vulnerability affects Debian systems (CVE-2021-32761). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2021-32761?
CVE-2021-32761 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 30.1%.
Is CVE-2021-32761 actively exploited?
No confirmed active exploitation of CVE-2021-32761 as of 2026-09-25.
How do I remediate CVE-2021-32761?
Priority: MEDIUM.
What systems are affected by CVE-2021-32761?
CVE-2021-32761 affects Debian Debian Linux; Fedoraproject Fedora; Redislabs 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.