{"id":"CVE-2022-35977","published":"2023-01-20T18:19:27Z","modified":"2025-11-03T21:46:27Z","title":"Integer overflow in certain command arguments can drive Redis to OOM panic","vendor":"redis","product":"redis","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.14051,"percentile":0.96645,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7","tags":["x_refsource_MISC"]},{"url":"https://github.com/redis/redis/releases/tag/6.0.17","tags":["x_refsource_MISC"]},{"url":"https://github.com/redis/redis/releases/tag/6.2.9","tags":["x_refsource_MISC"]},{"url":"https://github.com/redis/redis/releases/tag/7.0.8","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00031.html","tags":[]}],"priority":{"score":23.2,"factors":[{"name":"EPSS percentile","points":19.33},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"redis","affectedVersions":[{"vendor":"redis","product":"redis","versions":[">= 7.0, < 7.0.8",">= 6.2, < 6.2.9","< 6.0.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-10T20:59:39.619602Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"An integer overflow in the handling of certain command arguments in Redis, the in-memory database, can cause it to attempt impossible memory allocations and abort with an out-of-memory panic. An attacker who is an authenticated user, with local access to the system, can trigger it by issuing specially crafted SETRANGE or SORT(_RO) commands, requiring no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:42:06Z"},"euvd":{"id":"EUVD-2022-38804","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-redis-cve-2022-35977","children":[{"from":"CVE-2022-35977","to":"CVE-2023-28425","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/t_string.c"],"commits":["https://github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7","https://github.com/redis/redis/commit/48e0d4788434833b47892fe9f3d91be7687f25c9"],"basis":"rarely changed file"}]}]}}