CVE catalog

CVE-2021-32687

redis: CVE-2021-32687

[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
4.09% · Oct 25, 2026

Redis is an open source, in-memory database that persists on disk. An integer overflow bug affecting all versions of Redis can be exploited to corrupt the heap and potentially be used to leak arbitrary contents of the heap or trigger remote code execution. The vulnerability involves changing the default set-max-intset-entries configuration parameter to a very large value and constructing specially crafted commands to manipulate sets. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from modifying the set-max-intset-entries configuration parameter. This can be done using ACL to restrict unprivileged users from using the CONFIG SET command.

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
Ubunturedispro5:5.0.5-2build1vulnerable
Ubunturedispro5:5.0.6-1vulnerable
Ubunturedispro5:5.0.7-1vulnerable
Ubunturedispro5:5.0.7-2vulnerable
Ubunturedispro5:5.0.7-2ubuntu0.1~esm1vulnerable
Ubunturedispro5:5.0.7-2ubuntu0.1vulnerable
Ubunturedispro5:5.0.7-2ubuntu0.1+esm1fixed

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-32687Not reported
Alpineredisapk3.125.0.14-r0Not reportedALPINE-CVE-2021-32687Not reported
Alpineredisapk3.136.0.16-r0Not reportedALPINE-CVE-2021-32687Not reported
Alpineredisapk3.146.2.6-r0Not reportedALPINE-CVE-2021-32687Not reported
Alpineredisapk3.156.2.6-r0Not reportedALPINE-CVE-2021-32687Not reported
Alpineredisapk3.166.2.6-r0Not reportedALPINE-CVE-2021-32687Not reported
Alpineredisapk3.176.2.6-r0Not reportedALPINE-CVE-2021-32687Not reported
Alpineredisapk3.186.2.6-r0Not reportedALPINE-CVE-2021-32687Not reported
Alpineredisapk3.196.2.6-r0Not reportedALPINE-CVE-2021-32687Not reported
Ubunturedisdebpro5:5.0.7-2ubuntu0.1+esm1Not reportedUBUNTU-CVE-2021-32687Not 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