CVEMETERBack to radar
OFFICIAL RECORD · Redis

CVE-2021-32626

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 7.5 · high

Lua scripts can overflow the heap-based Lua stack in Redis

Redis is an open source, in-memory database that persists on disk. In affected versions specially crafted Lua scripts executing in Redis can cause the heap-based Lua stack to be overflowed, due to incomplete checks for this condition. This can result with heap corruption and potentially remote code execution. This problem exists in all versions of Redis with Lua scripting support, starting from 2.6. The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14. For users unable to update an additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 15.601% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 7.5 · published by GitHub_M
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T12:00:32.385Z

CVSS 3.1 · 7.5 · published by Ubuntu Security
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T16:03:43.150Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T12:00:32.385ZCVE Program
epssverified2026-11-19T16:04:30.739ZFIRST EPSS
patchesverified2026-11-19T16:03:43.150ZUbuntu Security
affectedverified2026-11-19T12:00:32.385ZCVE Program
lifecycleverified2026-11-19T12:00:32.385ZCVE Program

Affected versions and configuration

redis redis; default status: unknown: >= 6.2.0, < 6.2.6 [affected; scheme: unspecified]; >= 6.0.0, < 6.0.16 [affected; scheme: unspecified]; >= 2.6.0, < 5.0.14 [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "redis",
    "debian": "https://tracker.debian.org/pkg/redis",
    "source": "https://ubuntu.com/security/cve?package=redis",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=redis",
    "statuses": [
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "5:6.0.16-1",
        "release_codename": "lunar"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "5:6.0.16-1",
        "release_codename": "kinetic"
      },
      {
        "pocket": "security",
        "status": "ignored",
        "component": null,
        "description": "end of life",
        "release_codename": "impish"
      },
      {
        "pocket": "security",
        "status": "ignored",
        "component": null,
        "description": "end of life",
        "release_codename": "hirsute"
      },
      {
        "pocket": "esm-infra",
        "status": "released",
        "component": null,
        "description": "2:2.8.4-2ubuntu0.2+esm2",
        "release_codename": "trusty"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "5:6.0.16-1",
        "release_codename": "upstream"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "5:6.0.16-1",
        "release_codename": "jammy"
      },
      {
        "pocket": "esm-apps",
        "status": "released",
        "component": null,
        "description": "2:3.0.6-1ubuntu0.4+esm1",
        "release_codename": "xenial"
      },
      {
        "pocket": "esm-apps",
        "status": "released",
        "component": null,
        "description": "5:4.0.9-1ubuntu0.2+esm3",
        "release_codename": "bionic"
      },
      {
        "pocket": "esm-apps",
        "status": "released",
        "component": null,
        "description": "5:5.0.7-2ubuntu0.1+esm1",
        "release_codename": "focal"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "5:6.0.16-1",
        "release_codename": "mantic"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "5:6.0.16-1",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "5:6.0.16-1",
        "release_codename": "oracular"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "5:6.0.16-1",
        "release_codename": "plucky"
      }
    ]
  }
]
Archived source JSON
OSV · osv · full conditions
{
  "id": "DEBIAN-CVE-2021-32626",
  "aliases": [],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5:6.0.16-1"
            }
          ]
        }
      ],
      "package": {
        "name": "redis",
        "purl": "pkg:deb/debian/redis?arch=source&distro=trixie",
        "ecosystem": "Debian:13"
      },
      "versions": [],
      "database_specific": {
        "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-32626.json"
      },
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "upstream": [
    "CVE-2021-32626"
  ],
  "withdrawn": null,
  "references": [
    {
      "url": "https://security-tracker.debian.org/tracker/CVE-2021-32626",
      "type": "ADVISORY"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {}
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "DEBIAN-CVE-2021-32626",
  "aliases": [],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5:6.0.16-1"
            }
          ]
        }
      ],
      "package": {
        "name": "redis",
        "purl": "pkg:deb/debian/redis?arch=source&distro=bookworm",
        "ecosystem": "Debian:12"
      },
      "versions": [],
      "database_specific": {
        "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-32626.json"
      },
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "upstream": [
    "CVE-2021-32626"
  ],
  "withdrawn": null,
  "references": [
    {
      "url": "https://security-tracker.debian.org/tracker/CVE-2021-32626",
      "type": "ADVISORY"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {}
}
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "redis",
      "product": "redis",
      "versions": [
        {
          "status": "affected",
          "version": ">= 6.2.0, < 6.2.6"
        },
        {
          "status": "affected",
          "version": ">= 6.0.0, < 6.0.16"
        },
        {
          "status": "affected",
          "version": ">= 2.6.0, < 5.0.14"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://github.com/redis/redis/security/advisories/GHSA-p486-xggp-782c",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/redis/redis/commit/666ed7facf4524bf6d19b11b20faa2cf93fdf591",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VL5KXFN3ATM7IIM7Q4O4PWTSRGZ5744Z/",
          "name": "FEDORA-2021-8913c7900c",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HTYQ5ZF37HNGTZWVNJD3VXP7I6MEEF42/",
          "name": "FEDORA-2021-61c487f241",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.apache.org/thread.html/r75490c61c2cb7b6ae2c81238fd52ae13636c60435abcd732d41531a0%40%3Ccommits.druid.apache.org%3E",
          "name": "[druid-commits] 20211025 [GitHub] [druid] jihoonson opened a new pull request #11844: Bump netty4 to 4.1.68; suppress CVE-2021-37136 and CVE-2021-37137 for netty3",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WR5WKJWXD4D6S3DJCZ56V74ESLTDQRAB/",
          "name": "FEDORA-2021-aa94492a09",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA",
            "x_transferred"
          ]
        },
        {
          "url": "https://www.debian.org/security/2021/dsa-5001",
          "name": "DSA-5001",
          "tags": [
            "vendor-advisory",
            "x_refsource_DEBIAN",
            "x_transferred"
          ]
        },
        {
          "url": "https://www.oracle.com/security-alerts/cpuapr2022.html",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://security.netapp.com/advisory/ntap-20211104-0003/",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "https://security.gentoo.org/glsa/202209-17",
          "name": "GLSA-202209-17",
          "tags": [
            "vendor-advisory",
            "x_refsource_GENTOO",
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-03T23:25:30.986Z"
      }
    }
  ]
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
distribution-packageUbuntu / trustyredisesm-infra2:2.8.4-2ubuntu0.2+esm2Official record
upstream-noteupstream / upstreamredisNot a distribution channel5:6.0.16-1Official record
distribution-packageUbuntu / xenialredisesm-apps2:3.0.6-1ubuntu0.4+esm1Official record
distribution-packageUbuntu / bionicredisesm-apps5:4.0.9-1ubuntu0.2+esm3Official record
distribution-packageUbuntu / focalredisesm-apps5:5.0.7-2ubuntu0.1+esm1Official record
ecosystem-boundaryDebian:13 / 13redisunknown5:6.0.16-1Official record
ecosystem-boundaryDebian:12 / 12redisunknown5:6.0.16-1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history