{"schemaVersion":3,"id":"CVE-2022-35951","aliases":["ALPINE-CVE-2022-35951","UBUNTU-CVE-2022-35951","DEBIAN-CVE-2022-35951","openSUSE-SU-2024:12361-1"],"status":"published","duplicateOf":null,"title":null,"description":"Redis is an in-memory database that persists on disk. Versions 7.0.0 and above, prior to 7.0.5 are vulnerable to an Integer Overflow. Executing an `XAUTOCLAIM` command on a stream key in a specific state, with a specially crafted `COUNT` argument may cause an integer overflow, a subsequent heap overflow, and potentially lead to remote code execution. This has been patched in Redis version 7.0.5. No known workarounds exist.","dates":{"published":"2022-09-23T00:00:00.000Z","modified":"2025-04-23T16:56:29.033Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":2.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03906,"percentile":0.90163,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.7949999999999999,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03111},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03111,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03111,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03111,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03111,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03111,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03111,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03938,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03906,"percentile":0.90163}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03111,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03938,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03906,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03906,"percentile":0.90163}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"}],"affected":[{"vendor":"alpine","product":"redis","name":"redis","label":"redis","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/redis","purlType":"apk","versions":[{"text":"≥ 7.0.0, < 7.0.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.0.0, < 7.0.5-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"redis","name":"redis","label":"redis","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/redis","purlType":"deb","versions":[{"text":"< 5:7.0.5-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5:7.0.5-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"redis","name":"redis","label":"redis","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/redis","purlType":"deb","versions":[{"text":"< 5:7.0.12-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5:7.0.12-1","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"37","noFixRecorded":false,"fixedIn":null}],"versionsText":"37","eol":{"isEol":true,"eolDate":"2023-12-05T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"37","label":"37","eolFrom":"2023-12-05T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"redis","product":"redis","name":"redis","label":"redis","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.0.0, < 7.0.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.0.0, < 7.0.5","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"redis","label":"Redis","category":"database"}},"hubHref":"/vendor/redis/redis"},{"vendor":"opensuse","product":"redis&distro=openSUSE Tumbleweed","name":"redis","label":"redis&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/redis&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 7.0.5-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.0.5-1.1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-5gc4-76rx-22c9","label":"github.com/redis/redis/security/advisories/GHSA-5gc4-76rx-22c9","hostname":"github.com","tags":["REPORT","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A7INCOOFPPEAKNDBZU3TIZJPYXBULI2C/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://security.gentoo.org/glsa/202209-17","label":"security.gentoo.org/glsa/202209-17","hostname":"security.gentoo.org","tags":["Vendor Advisory","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20221020-0005/","label":"security.netapp.com/advisory/ntap-20221020-0005/","hostname":"security.netapp.com","tags":["Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-35951","label":"security.alpinelinux.org/vuln/CVE-2022-35951","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-35951","label":"ubuntu.com/security/CVE-2022-35951","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/redis/redis/commit/fa6815e14ea5adff93c5cd7be513c02a7c6e3f2a","label":"github.com/redis/redis/commit/fa6815e14ea5adff93c5cd7be513c02a7c6e3f2a","hostname":"github.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-35951","label":"www.cve.org/CVERecord?id=CVE-2022-35951","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-35951","label":"security-tracker.debian.org/tracker/CVE-2022-35951","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2022-35951","label":"www.suse.com/security/cve/CVE-2022-35951","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-09-23T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-23T16:56:29.033Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:06:45.827Z","stale":false,"partial":false}}