CVE-2024-31228
Denial-of-service due to unbounded pattern matching in Redis
Redis is an open source, in-memory database that persists on disk. Authenticated users can trigger a denial-of-service by using specially crafted, long string match patterns on supported commands such as `KEYS`, `SCAN`, `PSUBSCRIBE`, `FUNCTION LIST`, `COMMAND LIST` and ACL definitions. Matching of extremely long patterns may result in unbounded recursion, leading to stack overflow and process crash. 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: 1.011% · 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 · 5.5 · published by GitHub_MCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:01:26.695Z
CVSS 3.1 · 5.5 · published by Ubuntu SecurityCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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-19T12:01:26.695Z | CVE Program |
| 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.695Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:01:26.695Z | CVE Program |
Affected versions and configuration
redis redis; default status: unknown: >= 2.2.5, < 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": "esm-apps",
"status": "released",
"component": null,
"description": "5:4.0.9-1ubuntu0.2+esm5",
"release_codename": "bionic"
},
{
"pocket": "esm-apps",
"status": "released",
"component": null,
"description": "5:5.0.7-2ubuntu0.1+esm3",
"release_codename": "focal"
},
{
"pocket": "esm-apps",
"status": "released",
"component": null,
"description": "5:6.0.16-1ubuntu1+esm2",
"release_codename": "jammy"
},
{
"pocket": "esm-infra-legacy",
"status": "released",
"component": null,
"description": "2.8.4-2ubuntu0.2+esm4",
"release_codename": "trusty"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "5:7.0.15-1ubuntu0.24.10.1",
"release_codename": "oracular"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "5:7.0.15-1ubuntu0.24.04.1",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "esm-apps",
"status": "released",
"component": null,
"description": "2:3.0.6-1ubuntu0.4+esm3",
"release_codename": "xenial"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needed",
"release_codename": "plucky"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "code not present",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "code not present",
"release_codename": "questing"
}
]
}
]Archived source JSONOSV · osv · full conditions
{
"id": "DEBIAN-CVE-2024-31228",
"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-31228.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:N/I:N/A:H"
}
],
"upstream": [
"CVE-2024-31228"
],
"withdrawn": null,
"references": [
{
"url": "https://security-tracker.debian.org/tracker/CVE-2024-31228",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONOSV · osv · full conditions
{
"id": "DEBIAN-CVE-2024-31228",
"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-31228.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:N/I:N/A:H"
}
],
"upstream": [
"CVE-2024-31228"
],
"withdrawn": null,
"references": [
{
"url": "https://security-tracker.debian.org/tracker/CVE-2024-31228",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "redis",
"product": "redis",
"versions": [
{
"status": "affected",
"version": ">= 2.2.5, < 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-31228",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-10-07T20:20:14.689611Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-10-07T20:20:24.001Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "https://lists.debian.org/debian-lts-announce/2024/11/msg00031.html"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-11-03T21:54:38.487Z"
}
}
]
}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 |
|---|---|---|---|---|---|
| distribution-package | Ubuntu / bionic | redis | esm-apps | 5:4.0.9-1ubuntu0.2+esm5 | Official record |
| distribution-package | Ubuntu / focal | redis | esm-apps | 5:5.0.7-2ubuntu0.1+esm3 | Official record |
| distribution-package | Ubuntu / jammy | redis | esm-apps | 5:6.0.16-1ubuntu1+esm2 | Official record |
| distribution-package | Ubuntu / trusty | redis | esm-infra-legacy | 2.8.4-2ubuntu0.2+esm4 | Official record |
| distribution-package | Ubuntu / oracular | redis | security | 5:7.0.15-1ubuntu0.24.10.1 | Official record |
| distribution-package | Ubuntu / noble | redis | security | 5:7.0.15-1ubuntu0.24.04.1 | Official record |
| distribution-package | Ubuntu / xenial | redis | esm-apps | 2:3.0.6-1ubuntu0.4+esm3 | 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
- CVE ProgramConsulted: 2026-11-19T12:01:26.695ZArchived source JSON
Source publication: 2024-10-07T19:51:06.784Z
Source modification: 2025-11-03T21:54:38.487ZDocument fingerprint
88ca7b1605898eaacc0090b95f70d9263f8ae84b4af6f91645ee105d56d866eb - OSVConsulted: 2026-11-19T12:52:05.332ZArchived source JSON
Source publication: 2024-10-07T20:15:05.277Z
Source modification: 2026-11-14T17:00:05.577ZDocument fingerprint
94bfb02156fcf158d97f00f60abbf710659689ea962e2bdc1019f072ab73cda7 - 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: 2025-08-26T13:58:51.301ZDocument fingerprint
8017c0c97aa6cd7a2f0af0305401d0a6b0c84ba65ecbba77dff5510b58fe6f7c - OSVConsulted: 2026-11-19T12:52:08.385ZArchived source JSON
Source publication: 2024-10-07T20:15:05.277Z
Source modification: 2026-11-14T17:00:05.577ZDocument fingerprint
c52aa2bc34487b9fc6701e2c856a07c837a7f028f5e2e61174c91381b6a172ab - 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