CVE-2024-31449
Lua library commands may lead to stack overflow and RCE in Redis
Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to trigger a stack buffer overflow in the bit library, which may potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 4.458% · 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-19T16:25:55.090Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 8.8 · published by [email protected]CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T11:59:29.268Z
CVSS 3.1 · 7 · published by GitHub_MCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T12:01:26.705Z
CVSS 3.1 · 7 · published by [email protected]CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T11:59:29.268Z
CVSS 3.1 · 7 · published by Ubuntu SecurityCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T16:03:18.497Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T11:59:29.268Z | NVD |
| epss | verified | 2026-11-19T16:04:38.218Z | FIRST EPSS |
| patches | verified | 2026-11-19T16:03:18.497Z | Ubuntu Security |
| affected | verified | 2026-11-19T12:01:26.705Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:01:26.705Z | CVE Program |
Affected versions and configuration
redis redis; default status: unknown: >= 2.6, < 6.2.16 [affected; scheme: unspecified]; >= 7.0.0, < 7.2.6 [affected; scheme: unspecified]; >= 7.3.0, < 7.4.1 [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§ion=all&arch=any&searchon=sourcenames&keywords=redis",
"statuses": [
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "code not present",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needed",
"release_codename": "plucky"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needs-triage",
"release_codename": "oracular"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "code not present",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "6.2.16, 7.2.6, 7.4.1",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5:5.0.7-2ubuntu0.1+esm4",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5:6.0.16-1ubuntu1.1",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "2:2.8.4-2ubuntu0.2+esm5",
"release_codename": "trusty"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "code not present",
"release_codename": "resolute"
},
{
"pocket": "esm-apps",
"status": "released",
"component": null,
"description": "5:4.0.9-1ubuntu0.2+esm7",
"release_codename": "bionic"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "5:7.0.15-1ubuntu0.24.04.4",
"release_codename": "noble"
},
{
"pocket": "esm-apps",
"status": "released",
"component": null,
"description": "2:3.0.6-1ubuntu0.4+esm5",
"release_codename": "xenial"
}
]
}
]Archived source JSONOSV · osv · full conditions
{
"id": "DEBIAN-CVE-2024-31449",
"aliases": [],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5:7.0.15-2"
}
]
}
],
"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-2024-31449.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-2024-31449"
],
"withdrawn": null,
"references": [
{
"url": "https://security-tracker.debian.org/tracker/CVE-2024-31449",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONOSV · osv · full conditions
{
"id": "DEBIAN-CVE-2024-31449",
"aliases": [],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5:7.0.15-1~deb12u2"
}
]
}
],
"package": {
"name": "redis",
"purl": "pkg:deb/debian/redis?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"5:7.0.11-1",
"5:7.0.11-1+deb12u1",
"5:7.0.12-1",
"5:7.0.12-2",
"5:7.0.13-1",
"5:7.0.13-2",
"5:7.0.14-1",
"5:7.0.14-2",
"5:7.0.15-1~deb12u1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-31449.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-2024-31449"
],
"withdrawn": null,
"references": [
{
"url": "https://security-tracker.debian.org/tracker/CVE-2024-31449",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "redis",
"product": "redis",
"versions": [
{
"status": "affected",
"version": ">= 2.6, < 6.2.16"
},
{
"status": "affected",
"version": ">= 7.0.0, < 7.2.6"
},
{
"status": "affected",
"version": ">= 7.3.0, < 7.4.1"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-31449",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2024-11-19T04:55:44.585080Z"
}
}
}
],
"affected": [
{
"cpes": [
"cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*"
],
"vendor": "redis",
"product": "redis",
"versions": [
{
"status": "affected",
"version": "2.6",
"lessThan": "6.2.16",
"versionType": "custom"
},
{
"status": "affected",
"version": "7.0.0",
"lessThan": "7.2.6",
"versionType": "custom"
},
{
"status": "affected",
"version": "7.3.0",
"lessThan": "7.4.1",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-11-03T23:57:36.621Z"
}
}
]
}Archived source JSONNVD · nvd-cpe · full conditions
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "92118EB1-660D-4859-BA6D-FDC64E5C48F4",
"versionEndExcluding": "6.2.16",
"versionStartIncluding": "2.8.18"
},
{
"criteria": "cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "4F8A45E4-57CF-4B05-B188-A75BBDF37822",
"versionEndExcluding": "7.2.6",
"versionStartIncluding": "7.2.0"
},
{
"criteria": "cpe:2.3:a:redis:redis:7.4.0:-:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "4C484C7C-4C3B-45F6-8DF5-84CFE5FF2717"
},
{
"criteria": "cpe:2.3:a:redis:redis:7.4.0:rc1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "14EE168F-747A-43EE-84B8-14C332A7F1CB"
},
{
"criteria": "cpe:2.3:a:redis:redis:7.4.0:rc2:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "C983360E-DC98-4C5A-A088-7DCE273595A1"
}
],
"operator": "OR"
}
]
}
]Archived source JSONCorrection 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 type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| upstream-release | upstream / upstream | redis | Not a distribution channel | 6.2.16 | Official record |
| upstream-release | upstream / upstream | redis | Not a distribution channel | 7.2.6 | Official record |
| upstream-release | upstream / upstream | redis | Not a distribution channel | 7.4.1 | Official record |
| distribution-package | Ubuntu / bionic | redis | esm-apps | 5:4.0.9-1ubuntu0.2+esm7 | Official record |
| distribution-package | Ubuntu / noble | redis | security | 5:7.0.15-1ubuntu0.24.04.4 | Official record |
| distribution-package | Ubuntu / xenial | redis | esm-apps | 2:3.0.6-1ubuntu0.4+esm5 | Official record |
| ecosystem-boundary | Debian:13 / 13 | redis | unknown | 5:7.0.15-2 | Official record |
| ecosystem-boundary | Debian:12 / 12 | redis | unknown | 5:7.0.15-1~deb12u2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- NVDConsulted: 2026-11-19T11:59:29.268ZArchived source JSON
Source publication: 2024-10-07T20:15:05.507Z
Source modification: 2026-11-04T00:17:18.600ZDocument fingerprint
ed9d4254cdb0fd5abdd86a51eb9e312d56dbc48aafbb06b5ac70fa7553a840ac - CVE ProgramConsulted: 2026-11-19T12:01:26.705ZArchived source JSON
Source publication: 2024-10-07T19:51:08.775Z
Source modification: 2026-11-03T23:57:36.621ZDocument fingerprint
ee4d9433cb92483cd06a25269187cb0bc1844609f7ed4c4d49c81bb523173ad2 - OSVConsulted: 2026-11-19T12:52:08.385ZArchived source JSON
Source publication: 2024-10-07T20:15:05.507Z
Source modification: 2026-11-14T17:00:05.598ZDocument fingerprint
c52aa2bc34487b9fc6701e2c856a07c837a7f028f5e2e61174c91381b6a172ab - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - Ubuntu SecurityConsulted: 2026-11-19T16:03:18.497ZArchived source JSON
Source publication: 2024-10-07T20:15:00.000Z
Source modification: 2026-04-14T10:09:07.236ZDocument fingerprint
8017c0c97aa6cd7a2f0af0305401d0a6b0c84ba65ecbba77dff5510b58fe6f7c - OSVConsulted: 2026-11-19T12:52:05.332ZArchived source JSON
Source publication: 2024-10-07T20:15:05.507Z
Source modification: 2026-11-14T17:00:05.598ZDocument fingerprint
94bfb02156fcf158d97f00f60abbf710659689ea962e2bdc1019f072ab73cda7 - FIRST EPSSConsulted: 2026-11-19T16:04:38.218ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
55a64ee9ca0f1d908a48c56be557bd1ef72d684d2b38b659335bfacedc0274cc
Official status history
- UNKNOWN → PUBLISHED · · evidence