CVE-2025-27151
redis-check-aof may lead to stack overflow and potential RCE
Redis is an open source, in-memory database that persists on disk. In versions starting from 7.0.0 to before 8.0.2, a stack-based buffer overflow exists in redis-check-aof due to the use of memcpy with strlen(filepath) when copying a user-supplied file path into a fixed-size stack buffer. This allows an attacker to overflow the stack and potentially achieve code execution. This issue has been patched in version 8.0.2.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.058% · 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 · 4.7 · published by GitHub_MCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:01:29.155Z
CVSS 3.1 · 4.7 · published by Ubuntu SecurityCVSS:3.1/AV:L/AC:H/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:29.155Z | CVE Program |
| epss | verified | 2026-11-19T16:04:40.588Z | FIRST EPSS |
| patches | verified | 2026-11-19T16:03:18.497Z | Ubuntu Security |
| affected | verified | 2026-11-19T12:01:29.155Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:01:29.155Z | CVE Program |
Affected versions and configuration
redis redis; default status: unknown: >= 7.0.0, < 8.0.2 [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 needs-triage",
"release_codename": "oracular"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "code not present",
"release_codename": "bionic"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "code not present",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "code not present",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "code not present",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5:8.0.2-3ubuntu0.25.10.1",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "code not present",
"release_codename": "trusty"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "8.0.2",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "code not present",
"release_codename": "xenial"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needed",
"release_codename": "plucky"
}
]
}
]Archived source JSONOSV · osv · full conditions
{
"id": "DEBIAN-CVE-2025-27151",
"aliases": [],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5:8.0.2-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-2025-27151.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"upstream": [
"CVE-2025-27151"
],
"withdrawn": null,
"references": [
{
"url": "https://security-tracker.debian.org/tracker/CVE-2025-27151",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONOSV · osv · full conditions
{
"id": "DEBIAN-CVE-2025-27151",
"aliases": [],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5:7.0.15-1~deb12u5"
}
]
}
],
"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",
"5:7.0.15-1~deb12u2",
"5:7.0.15-1~deb12u3",
"5:7.0.15-1~deb12u4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-27151.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"upstream": [
"CVE-2025-27151"
],
"withdrawn": null,
"references": [
{
"url": "https://security-tracker.debian.org/tracker/CVE-2025-27151",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "redis",
"product": "redis",
"versions": [
{
"status": "affected",
"version": ">= 7.0.0, < 8.0.2"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-27151",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-05-29T13:42:48.855092Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-05-29T13:43:09.725Z"
}
}
]
}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 | 8.0.2 | Official record |
| ecosystem-boundary | Debian:13 / 13 | redis | unknown | 5:8.0.2-2 | Official record |
| ecosystem-boundary | Debian:12 / 12 | redis | unknown | 5:7.0.15-1~deb12u5 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:05.332ZArchived source JSON
Source publication: 2025-05-29T09:15:25.980Z
Source modification: 2026-11-14T17:00:05.586ZDocument 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: 2025-05-29T09:15:00.000Z
Source modification: 2025-07-11T08:02:22.877ZDocument fingerprint
8017c0c97aa6cd7a2f0af0305401d0a6b0c84ba65ecbba77dff5510b58fe6f7c - CVE ProgramConsulted: 2026-11-19T12:01:29.155ZArchived source JSON
Source publication: 2025-05-29T09:07:34.779Z
Source modification: 2025-05-29T13:43:09.725ZDocument fingerprint
99b6bb3c51db0a171bac73b5904cf8af425aa37544632b3158046ab17ddc1bcf - OSVConsulted: 2026-11-19T12:52:08.385ZArchived source JSON
Source publication: 2025-05-29T09:15:25.980Z
Source modification: 2026-11-14T17:00:05.586ZDocument fingerprint
c52aa2bc34487b9fc6701e2c856a07c837a7f028f5e2e61174c91381b6a172ab - FIRST EPSSConsulted: 2026-11-19T16:04:40.588ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f828727fd2419e9ee62887077d52e76b99e46a1d7a1ce89e08e7e861a70ba109
Official status history
- UNKNOWN → PUBLISHED · · evidence