CVE-2021-32761Integer overflow issues with *BIT commands on 32-bit systems
- 7.5HighCVSS base score
- 30.1%Exploitation in 30 daysEPSS · top 1.8% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 2 months later
· 2 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 30.1% · top 1.8% of all CVEs (18 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
References
References8
- https://github.com/redis/redis/security/advisories/GHSA-8wxq-j7rp-g8wj (opens in a new tab)x_refsource_CONFIRMx_transferred
- [debian-lts-announce] 20210722 [SECURITY] [DLA 2717-1] redis security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- FEDORA-2021-10d54c261f (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2021-76cf1653b3 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- https://security.netapp.com/advisory/ntap-20210827-0004/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- [debian-lts-announce] 20210827 [SECURITY] [DLA 2717-2] redis security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- DSA-5001 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- GLSA-202209-17 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-19529 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-32761)Record last updated .