CVE-2022-35977
Integer overflow in certain command arguments can drive Redis to OOM panic
Redis is an in-memory database that persists on disk. Authenticated users issuing specially crafted `SETRANGE` and `SORT(_RO)` commands can trigger an integer overflow, resulting with Redis attempting to allocate impossible amounts of memory and abort with an out-of-memory (OOM) panic. The problem is fixed in Redis versions 7.0.8, 6.2.9 and 6.0.17. 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: 14.045% · 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:00:34.965Z
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:22.380Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T12:00:34.965Z | CVE Program |
| epss | verified | 2026-11-19T16:04:34.659Z | FIRST EPSS |
| patches | verified | 2026-11-19T16:03:22.380Z | Ubuntu Security |
| affected | verified | 2026-11-19T12:00:34.965Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:00:34.965Z | CVE Program |
Affected versions and configuration
redis redis; default status: unknown: >= 7.0, < 7.0.8 [affected; scheme: unspecified]; >= 6.2, < 6.2.9 [affected; scheme: unspecified]; < 6.0.17 [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": "5:7.0.8-4",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needs-triage",
"release_codename": "kinetic"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "7.0.8",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needs-triage",
"release_codename": "lunar"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5:7.0.8-4",
"release_codename": "mantic"
},
{
"pocket": "esm-apps",
"status": "released",
"component": null,
"description": "5:4.0.9-1ubuntu0.2+esm4",
"release_codename": "bionic"
},
{
"pocket": "esm-apps",
"status": "released",
"component": null,
"description": "5:5.0.7-2ubuntu0.1+esm2",
"release_codename": "focal"
},
{
"pocket": "esm-apps",
"status": "released",
"component": null,
"description": "5:6.0.16-1ubuntu1+esm1",
"release_codename": "jammy"
},
{
"pocket": "esm-infra",
"status": "released",
"component": null,
"description": "2:2.8.4-2ubuntu0.2+esm3",
"release_codename": "trusty"
},
{
"pocket": "esm-apps",
"status": "released",
"component": null,
"description": "2:3.0.6-1ubuntu0.4+esm2",
"release_codename": "xenial"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5:7.0.8-4",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5:7.0.8-4",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5:7.0.8-4",
"release_codename": "oracular"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5:7.0.8-4",
"release_codename": "plucky"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5:7.0.8-4",
"release_codename": "questing"
}
]
}
]Archived source JSONOSV · osv · full conditions
{
"id": "DEBIAN-CVE-2022-35977",
"aliases": [],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5:7.0.8-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-2022-35977.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"upstream": [
"CVE-2022-35977"
],
"withdrawn": null,
"references": [
{
"url": "https://security-tracker.debian.org/tracker/CVE-2022-35977",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONOSV · osv · full conditions
{
"id": "DEBIAN-CVE-2022-35977",
"aliases": [],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5:7.0.8-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-2022-35977.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"upstream": [
"CVE-2022-35977"
],
"withdrawn": null,
"references": [
{
"url": "https://security-tracker.debian.org/tracker/CVE-2022-35977",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "redis",
"product": "redis",
"versions": [
{
"status": "affected",
"version": ">= 7.0, < 7.0.8"
},
{
"status": "affected",
"version": ">= 6.2, < 6.2.9"
},
{
"status": "affected",
"version": "< 6.0.17"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8j",
"name": "https://github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8j",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7",
"name": "https://github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/redis/redis/releases/tag/6.0.17",
"name": "https://github.com/redis/redis/releases/tag/6.0.17",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/redis/redis/releases/tag/6.2.9",
"name": "https://github.com/redis/redis/releases/tag/6.2.9",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/redis/redis/releases/tag/7.0.8",
"name": "https://github.com/redis/redis/releases/tag/7.0.8",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"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:46:27.537Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2022-35977",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-03-10T20:59:39.619602Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-03-10T21:21:26.247Z"
}
}
]
}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 | 7.0.8 | Official record |
| distribution-package | Ubuntu / bionic | redis | esm-apps | 5:4.0.9-1ubuntu0.2+esm4 | Official record |
| distribution-package | Ubuntu / focal | redis | esm-apps | 5:5.0.7-2ubuntu0.1+esm2 | Official record |
| distribution-package | Ubuntu / jammy | redis | esm-apps | 5:6.0.16-1ubuntu1+esm1 | Official record |
| distribution-package | Ubuntu / trusty | redis | esm-infra | 2:2.8.4-2ubuntu0.2+esm3 | Official record |
| distribution-package | Ubuntu / xenial | redis | esm-apps | 2:3.0.6-1ubuntu0.4+esm2 | Official record |
| ecosystem-boundary | Debian:13 / 13 | redis | unknown | 5:7.0.8-1 | Official record |
| ecosystem-boundary | Debian:12 / 12 | redis | unknown | 5:7.0.8-1 | 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:00:34.965ZArchived source JSON
Source publication: 2023-01-20T18:19:27.692Z
Source modification: 2025-11-03T21:46:27.537ZDocument fingerprint
d637e69e259bbb20caecbecc64a7af6233347e97e0292c3aeb05af5526dd7b54 - OSVConsulted: 2026-11-19T12:52:05.332ZArchived source JSON
Source publication: 2023-01-20T19:15:14.470Z
Source modification: 2026-11-18T06:00:54.470ZDocument fingerprint
94bfb02156fcf158d97f00f60abbf710659689ea962e2bdc1019f072ab73cda7 - OSVConsulted: 2026-11-19T12:52:08.385ZArchived source JSON
Source publication: 2023-01-20T19:15:14.470Z
Source modification: 2026-11-18T06:00:54.470ZDocument 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:22.380ZArchived source JSON
Source publication: 2023-01-20T19:15:00.000Z
Source modification: 2025-08-18T17:19:46.456ZDocument fingerprint
c91c80f760e51d74d54a3fd75d821404dc3fee4bc7a7e56b5894e61dc3130c3c - FIRST EPSSConsulted: 2026-11-19T16:04:34.659ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
ebc3741797ce6bacd6a15ab266164046e3e05f01d3c263c1d41b753e0058bf3c
Official status history
- UNKNOWN → PUBLISHED · · evidence