redis — security advisory
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.
- Products
- redis
- Affected versions
- Not specified
- Fixed versions
- 6.2.9-r0, 7.0.8-r0
- CVEs
- CVE-2022-35977
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 14:13 UTC · Revision 1
Source evidence
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.
osv:ALPINE-CVE-2022-35977
redis
Fixed versions: 6.2.9-r0
redis
Fixed versions: 6.2.9-r0
redis
Fixed versions: 7.0.8-r0
redis
Fixed versions: 7.0.8-r0
redis
Fixed versions: 7.0.8-r0
redis
Fixed versions: 7.0.8-r0
Complete source record
{
"id": "370b83194c1252c1041d6404dad46d67dc48e3fcf4578311aa5af90fd2e73dc2",
"url": "https://osv.dev/vulnerability/ALPINE-CVE-2022-35977",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALPINE-CVE-2022-35977",
"summary": "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.",
"evidence": "osv:ALPINE-CVE-2022-35977",
"products": [
{
"name": {
"value": "redis",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.2.9-r0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "redis",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.2.9-r0",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "redis",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.0.8-r0",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "redis",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.0.8-r0",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "redis",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.0.8-r0",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "redis",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.0.8-r0",
"evidence": "/affected/5/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "ALPINE-CVE-2022-35977",
"aliases": [
"ALPINE-CVE-2022-35977"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.2.9-r0"
}
]
}
],
"package": {
"name": "redis",
"purl": "pkg:apk/alpine/redis?arch=source",
"ecosystem": "Alpine:v3.14"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-35977.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.2.9-r0"
}
]
}
],
"package": {
"name": "redis",
"purl": "pkg:apk/alpine/redis?arch=source",
"ecosystem": "Alpine:v3.15"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-35977.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.0.0"
},
{
"fixed": "7.0.8-r0"
}
]
}
],
"package": {
"name": "redis",
"purl": "pkg:apk/alpine/redis?arch=source",
"ecosystem": "Alpine:v3.16"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-35977.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.0.0"
},
{
"fixed": "7.0.8-r0"
}
]
}
],
"package": {
"name": "redis",
"purl": "pkg:apk/alpine/redis?arch=source",
"ecosystem": "Alpine:v3.17"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-35977.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.0.0"
},
{
"fixed": "7.0.8-r0"
}
]
}
],
"package": {
"name": "redis",
"purl": "pkg:apk/alpine/redis?arch=source",
"ecosystem": "Alpine:v3.18"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-35977.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.0.0"
},
{
"fixed": "7.0.8-r0"
}
]
}
],
"package": {
"name": "redis",
"purl": "pkg:apk/alpine/redis?arch=source",
"ecosystem": "Alpine:v3.19"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-35977.json"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-15T07:17:54.236562053Z",
"provider": "osv",
"upstream": [
"CVE-2022-35977"
],
"references": [
"https://security.alpinelinux.org/vuln/CVE-2022-35977"
]
},
"related_cves": [
{
"value": "CVE-2022-35977",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 321926,
"published_at": "2023-01-20T19:15:14.47+00:00"
}