# CVE-2021-32761: Integer overflow issues with \*BIT commands on 32-bit systems

- Priority: **Routine**
- Reason: Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-07-21 · Modified: 2024-08-03
- Aliases: ALPINE-CVE-2021-32761, UBUNTU-CVE-2021-32761, DEBIAN-CVE-2021-32761, DLA-2717-1, DLA-2717-2
- Record: https://cvemate.com/vulnerability/CVE-2021-32761 · JSON: https://cvemate.com/vulnerability/CVE-2021-32761/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 36.553%, percentile 98.535%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine redis (Alpine Linux): ≥ 2.2.0, \< 6.0.13-r0 \| ≥ 2.2.0, \< 6.2.5-r0 \| ≥ 2.2.0, \< 5.0.13-r0 \| ≥ 6.0, \< 6.0.13-r0 \| ≥ 6.2.0, \< 6.2.5-r0
- debian redis (Debian): \< 5:6.0.15-1 \| \< 3:3.2.6-3+deb9u5 \| \< 3:3.2.6-3+deb9u6
- ubuntu redis (Ubuntu): \< 2:2.8.4-2ubuntu0.2+esm2 \| \< 2:3.0.6-1ubuntu0.4+esm1 \| \< 5:4.0.9-1ubuntu0.2+esm3
- debian debian\_linux: 9.0 \| 10.0 \| 11.0
- fedoraproject fedora: 33 \| 34
- redis redis: ≥ 2.2, \< 5.0.13 \| ≥ 6.0.0, \< 6.0.15 \| ≥ 6.2.0, \< 6.2.5
- redislabs redis: ≥ 2.2.0, \< 5.0.13 \| ≥ 6.0, \< 6.0.15 \| ≥ 6.2.0, \< 6.2.5

## References

- <https://github.com/redis/redis/security/advisories/GHSA-8wxq-j7rp-g8wj>
- <https://lists.debian.org/debian-lts-announce/2021/07/msg00017.html>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VGX7RRAWGXWXEAKJTQYSDSBO2BC3SAHD/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6O7AUOROBYGP5IMGJPC5HZ3R2RB6GZ5X/>
- <https://security.netapp.com/advisory/ntap-20210827-0004/>
- <https://lists.debian.org/debian-lts-announce/2021/08/msg00026.html>
- <https://www.debian.org/security/2021/dsa-5001>
- <https://security.gentoo.org/glsa/202209-17>
- <https://security.alpinelinux.org/vuln/CVE-2021-32761>
- <https://ubuntu.com/security/CVE-2021-32761>
- <https://ubuntu.com/security/notices/USN-5221-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-32761>
- <https://security-tracker.debian.org/tracker/CVE-2021-32761>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32761>

---

Data as of 2026-12-05T06:22:12.874Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
