CVE catalog

CVE-2021-32762

redis: CVE-2021-32762

[CVE catalog]

Severity
High · CVSS 7.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debianredissid5:8.0.6-3fixed
Debianredisforky5:8.0.6-3fixed
Debianredistrixie5:8.0.2-3+deb13u2fixed
Debianredistrixie-security5:8.0.2-3+deb13u3fixed
Debianredisbookworm5:7.0.15-1~deb12u7fixed
Debianredisbookworm-security5:7.0.15-1~deb12u10fixed
Alpineredis3.115.0.14-r0fixed
Alpineredis3.125.0.14-r0fixed
Alpineredis3.136.0.16-r0fixed
Alpineredis3.146.2.6-r0fixed
Alpineredis3.156.2.6-r0fixed
Alpineredis3.166.2.6-r0fixed
Alpineredis3.176.2.6-r0fixed
Alpineredis3.186.2.6-r0fixed
Alpineredis3.196.2.6-r0fixed
Ubuntuhiredis16.040.13.1-2vulnerable
Ubuntuhiredis16.040.13.3-1vulnerable
Ubuntuhiredis16.040.13.3-2vulnerable
Ubuntuwebdis16.040.1.1-2.1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianredissourcesid5:6.0.16-1not yet assignedNot reportedNot reported
Debianredissourceforky5:6.0.16-1not yet assignedNot reportedNot reported
Debianredissourcetrixie5:6.0.16-1not yet assignedNot reportedNot reported
Debianredissourcebookworm5:6.0.16-1not yet assignedNot reportedNot reported
Alpineredisapk3.115.0.14-r0Not reportedALPINE-CVE-2021-32762Not reported
Alpineredisapk3.125.0.14-r0Not reportedALPINE-CVE-2021-32762Not reported
Alpineredisapk3.136.0.16-r0Not reportedALPINE-CVE-2021-32762Not reported
Alpineredisapk3.146.2.6-r0Not reportedALPINE-CVE-2021-32762Not reported
Alpineredisapk3.156.2.6-r0Not reportedALPINE-CVE-2021-32762Not reported
Alpineredisapk3.166.2.6-r0Not reportedALPINE-CVE-2021-32762Not reported
Alpineredisapk3.176.2.6-r0Not reportedALPINE-CVE-2021-32762Not reported
Alpineredisapk3.186.2.6-r0Not reportedALPINE-CVE-2021-32762Not reported
Alpineredisapk3.196.2.6-r0Not reportedALPINE-CVE-2021-32762Not 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 · bookworm

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · bookworm; dsa · redis · debian · 12

    • 5:7.0.15-1~deb12u7 · all · bookworm

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · bookworm; dsa · redis · debian · 12

    • 5:7.0.15-1~deb12u9 · all · bookworm-security

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · bookworm; dsa · redis · debian · 12

    • 5:7.0.15-1~deb12u9 · all · bookworm-security

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · bookworm; dsa · redis · debian · 12

  • Source package: [redis]

    Details (4)
    • 5:7.0.15-1~deb12u7 · amd64 · bookworm

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · bookworm; dsa · redis · debian · 12

    • 5:7.0.15-1~deb12u7 · arm64 · bookworm

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · bookworm; dsa · redis · debian · 12

    • 5:7.0.15-1~deb12u9 · amd64 · bookworm-security

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · bookworm; dsa · redis · debian · 12

    • 5:7.0.15-1~deb12u9 · arm64 · bookworm-security

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · bookworm; dsa · redis · debian · 12

  • [redis-server]Unknown

    Source package: [redis]

    Details (4)
    • 5:7.0.15-1~deb12u7 · amd64 · bookworm

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · bookworm; dsa · redis · debian · 12

    • 5:7.0.15-1~deb12u7 · arm64 · bookworm

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · bookworm; dsa · redis · debian · 12

    • 5:7.0.15-1~deb12u9 · amd64 · bookworm-security

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · bookworm; dsa · redis · debian · 12

    • 5:7.0.15-1~deb12u9 · arm64 · bookworm-security

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · bookworm; dsa · redis · debian · 12

  • [redis-tools]Unknown

    Source package: [redis]

    Details (4)
    • 5:7.0.15-1~deb12u7 · amd64 · bookworm

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · bookworm; dsa · redis · debian · 12

    • 5:7.0.15-1~deb12u7 · arm64 · bookworm

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · bookworm; dsa · redis · debian · 12

    • 5:7.0.15-1~deb12u9 · amd64 · bookworm-security

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · bookworm; dsa · redis · debian · 12

    • 5:7.0.15-1~deb12u9 · arm64 · bookworm-security

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · bookworm; dsa · redis · debian · 12

[Debian 13 (Trixie)]

  • [redis]Unknown
    Details (5)
    • 5:8.0.2-3+deb13u2 · all · trixie

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

    • 5:8.0.2-3+deb13u2 · all · trixie

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

    • 5:8.0.2-3+deb13u2 · all · trixie-security

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

    • 5:8.0.2-3+deb13u2 · all · trixie-security · Historical version

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

    • 5:8.0.2-3+deb13u3 · all · trixie-security

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

  • Source package: [redis]

    Details (5)
    • 5:8.0.2-3+deb13u2 · amd64 · trixie

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

    • 5:8.0.2-3+deb13u2 · arm64 · trixie

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

    • 5:8.0.2-3+deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

    • 5:8.0.2-3+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

    • 5:8.0.2-3+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

  • [redis-server]Unknown

    Source package: [redis]

    Details (5)
    • 5:8.0.2-3+deb13u2 · amd64 · trixie

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

    • 5:8.0.2-3+deb13u2 · arm64 · trixie

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

    • 5:8.0.2-3+deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

    • 5:8.0.2-3+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

    • 5:8.0.2-3+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

  • [redis-tools]Unknown

    Source package: [redis]

    Details (5)
    • 5:8.0.2-3+deb13u2 · amd64 · trixie

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

    • 5:8.0.2-3+deb13u2 · arm64 · trixie

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

    • 5:8.0.2-3+deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

    • 5:8.0.2-3+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

    • 5:8.0.2-3+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 5:6.0.16-1

      dsa · redis · debian · 13

Observed:

References