
CVE catalog
CVE-2021-32762
redis: CVE-2021-32762
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.56% · Oct 25, 2026
Redis is an open source, in-memory database that persists on disk. The redis-cli command line tool and redis-sentinel service may be vulnerable to integer overflow when parsing specially crafted large multi-bulk network replies. This is a result of a vulnerability in the underlying hiredis library which does not perform an overflow check before calling the calloc() heap allocation function. This issue only impacts systems with heap allocators that do not perform their own overflow checks. Most modern systems do and are therefore not likely to be affected. Furthermore, by default redis-sentinel uses the jemalloc allocator which is also not vulnerable. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | redis | sid | 5:8.0.6-3 | fixed |
| Debian | redis | forky | 5:8.0.6-3 | fixed |
| Debian | redis | trixie | 5:8.0.2-3+deb13u2 | fixed |
| Debian | redis | trixie-security | 5:8.0.2-3+deb13u3 | fixed |
| Debian | redis | bookworm | 5:7.0.15-1~deb12u7 | fixed |
| Debian | redis | bookworm-security | 5:7.0.15-1~deb12u10 | fixed |
| Alpine | redis | 3.11 | 5.0.14-r0 | fixed |
| Alpine | redis | 3.12 | 5.0.14-r0 | fixed |
| Alpine | redis | 3.13 | 6.0.16-r0 | fixed |
| Alpine | redis | 3.14 | 6.2.6-r0 | fixed |
| Alpine | redis | 3.15 | 6.2.6-r0 | fixed |
| Alpine | redis | 3.16 | 6.2.6-r0 | fixed |
| Alpine | redis | 3.17 | 6.2.6-r0 | fixed |
| Alpine | redis | 3.18 | 6.2.6-r0 | fixed |
| Alpine | redis | 3.19 | 6.2.6-r0 | fixed |
| Ubuntu | hiredis | 16.04 | 0.13.1-2 | vulnerable |
| Ubuntu | hiredis | 16.04 | 0.13.3-1 | vulnerable |
| Ubuntu | hiredis | 16.04 | 0.13.3-2 | vulnerable |
| Ubuntu | webdis | 16.04 | 0.1.1-2.1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | redis | source | sid | 5:6.0.16-1 | not yet assigned | Not reported | Not reported |
| Debian | redis | source | forky | 5:6.0.16-1 | not yet assigned | Not reported | Not reported |
| Debian | redis | source | trixie | 5:6.0.16-1 | not yet assigned | Not reported | Not reported |
| Debian | redis | source | bookworm | 5:6.0.16-1 | not yet assigned | Not reported | Not reported |
| Alpine | redis | apk | 3.11 | 5.0.14-r0 | Not reported | ALPINE-CVE-2021-32762 | Not reported |
| Alpine | redis | apk | 3.12 | 5.0.14-r0 | Not reported | ALPINE-CVE-2021-32762 | Not reported |
| Alpine | redis | apk | 3.13 | 6.0.16-r0 | Not reported | ALPINE-CVE-2021-32762 | Not reported |
| Alpine | redis | apk | 3.14 | 6.2.6-r0 | Not reported | ALPINE-CVE-2021-32762 | Not reported |
| Alpine | redis | apk | 3.15 | 6.2.6-r0 | Not reported | ALPINE-CVE-2021-32762 | Not reported |
| Alpine | redis | apk | 3.16 | 6.2.6-r0 | Not reported | ALPINE-CVE-2021-32762 | Not reported |
| Alpine | redis | apk | 3.17 | 6.2.6-r0 | Not reported | ALPINE-CVE-2021-32762 | Not reported |
| Alpine | redis | apk | 3.18 | 6.2.6-r0 | Not reported | ALPINE-CVE-2021-32762 | Not reported |
| Alpine | redis | apk | 3.19 | 6.2.6-r0 | Not reported | ALPINE-CVE-2021-32762 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [redis]Unknown
Details (4)
5:7.0.15-1~deb12u7· all · bookwormFixed · Fixed:
5:6.0.16-1dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u7· all · bookwormFixed · Fixed:
5:6.0.16-1dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u9· all · bookworm-securityFixed · Fixed:
5:6.0.16-1dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u9· all · bookworm-securityFixed · Fixed:
5:6.0.16-1dsa · redis · debian · bookworm; dsa · redis · debian · 12
- [redis-sentinel]Unknown
Source package: [redis]
Details (4)
5:7.0.15-1~deb12u7· amd64 · bookwormFixed · Fixed:
5:6.0.16-1dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u7· arm64 · bookwormFixed · Fixed:
5:6.0.16-1dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u9· amd64 · bookworm-securityFixed · Fixed:
5:6.0.16-1dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u9· arm64 · bookworm-securityFixed · Fixed:
5:6.0.16-1dsa · redis · debian · bookworm; dsa · redis · debian · 12
- [redis-server]Unknown
Source package: [redis]
Details (4)
5:7.0.15-1~deb12u7· amd64 · bookwormFixed · Fixed:
5:6.0.16-1dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u7· arm64 · bookwormFixed · Fixed:
5:6.0.16-1dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u9· amd64 · bookworm-securityFixed · Fixed:
5:6.0.16-1dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u9· arm64 · bookworm-securityFixed · Fixed:
5:6.0.16-1dsa · redis · debian · bookworm; dsa · redis · debian · 12
- [redis-tools]Unknown
Source package: [redis]
Details (4)
5:7.0.15-1~deb12u7· amd64 · bookwormFixed · Fixed:
5:6.0.16-1dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u7· arm64 · bookwormFixed · Fixed:
5:6.0.16-1dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u9· amd64 · bookworm-securityFixed · Fixed:
5:6.0.16-1dsa · redis · debian · bookworm; dsa · redis · debian · 12
5:7.0.15-1~deb12u9· arm64 · bookworm-securityFixed · Fixed:
5:6.0.16-1dsa · redis · debian · bookworm; dsa · redis · debian · 12
[Debian 13 (Trixie)]
- [redis]Unknown
Details (5)
5:8.0.2-3+deb13u2· all · trixieFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
5:8.0.2-3+deb13u2· all · trixieFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
5:8.0.2-3+deb13u2· all · trixie-securityFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
5:8.0.2-3+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
5:8.0.2-3+deb13u3· all · trixie-securityFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
- [redis-sentinel]Unknown
Source package: [redis]
Details (5)
5:8.0.2-3+deb13u2· amd64 · trixieFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
5:8.0.2-3+deb13u2· arm64 · trixieFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
5:8.0.2-3+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
5:8.0.2-3+deb13u2· arm64 · trixie-securityFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
5:8.0.2-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
- [redis-server]Unknown
Source package: [redis]
Details (5)
5:8.0.2-3+deb13u2· amd64 · trixieFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
5:8.0.2-3+deb13u2· arm64 · trixieFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
5:8.0.2-3+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
5:8.0.2-3+deb13u2· arm64 · trixie-securityFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
5:8.0.2-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
- [redis-tools]Unknown
Source package: [redis]
Details (5)
5:8.0.2-3+deb13u2· amd64 · trixieFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
5:8.0.2-3+deb13u2· arm64 · trixieFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
5:8.0.2-3+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
5:8.0.2-3+deb13u2· arm64 · trixie-securityFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
5:8.0.2-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
5:6.0.16-1dsa · redis · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2021_3772-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2021-32762]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-32762]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-32762]
- [https://security-tracker.debian.org/tracker/CVE-2021-32762]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-32762.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2022-1579.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]