{"schemaVersion":4,"id":"CVE-2026-130822","aliases":["ALPINE-CVE-2026-130822","UBUNTU-CVE-2026-130822","DEBIAN-CVE-2026-130822","openSUSE-SU-2026:12724-1"],"status":"published","duplicateOf":null,"title":"Valkey: Use-after-free when client eviction frees the client whose command is still executing","description":"In Valkey before 7.2.16, 8.0.x before 8.0.13, 8.1.x before 8.1.12, 9.0.x before 9.0.8, 9.1.x before 9.1.4 and 9.2.0 release candidates, when client eviction is enabled (maxmemory-clients is not 0), an authenticated user who can write to a key that other clients are blocked on (for example with BLPOP, BLMPOP, BZPOPMIN or XREAD BLOCK) can trigger a use-after-free. While the clients blocked on that key are served, evictClients() can select and free the client whose command made the key ready, although that command is still executing, and the server then keeps using the freed client. The blocked clients do not have to belong to the attacker. The result is a reliable crash of the server process. Servers with the default maxmemory-clients 0 are not affected.","dates":{"published":"2026-11-24T13:57:55.729Z","modified":"2026-12-01T19:38:25.732Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:L/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.5,"severity":"high","vector":"CVSS:3.1/AV:N/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":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/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":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.1,"impact":9.8,"computed":true}]},"epss":{"probability":0.00765,"percentile":0.568,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-25T00:00:00.000Z","score":0.00764,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00764,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00765,"percentile":0.568}],"last30":[{"date":"2026-11-25T00:00:00.000Z","score":0.00764,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00764,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00765,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00765,"percentile":0.568}]},"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-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"alpine","product":"valkey","name":"valkey","label":"valkey","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/valkey","purlType":"apk","versions":[{"text":"< 7.2.16-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"7.2.16-r0","endInclusive":false}},{"text":"< 8.1.12-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"8.1.12-r0","endInclusive":false}},{"text":"< 9.0.8-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"9.0.8-r0","endInclusive":false}},{"text":"< 9.2.0-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"9.2.0-r0","endInclusive":false}}],"versionsText":"< 7.2.16-r0 | < 8.1.12-r0 | < 9.0.8-r0 | < 9.2.0-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"valkey","name":"valkey","label":"valkey","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/valkey","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 9.1.4-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"9.1.4-1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 9.1.4-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"valkey","name":"valkey","label":"valkey","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/valkey","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"opensuse","product":"valkey&distro=openSUSE Tumbleweed","name":"valkey","label":"valkey&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/valkey&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 9.2.0-1.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"9.2.0-1.1","endInclusive":false}}],"versionsText":"< 9.2.0-1.1","eol":null,"hubHref":null},{"vendor":"valkey","product":"valkey","name":"Valkey","label":"valkey","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 7.2.16","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"7.2.16","endInclusive":false}},{"text":"≥ 8.0.0, < 8.0.13","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"8.0.0","startInclusive":true,"end":"8.0.13","endInclusive":false}},{"text":"≥ 8.1.0, < 8.1.12","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"8.1.0","startInclusive":true,"end":"8.1.12","endInclusive":false}},{"text":"≥ 9.0.0, < 9.0.8","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"9.0.0","startInclusive":true,"end":"9.0.8","endInclusive":false}},{"text":"≥ 9.1.0, < 9.1.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"9.1.0","startInclusive":true,"end":"9.1.4","endInclusive":false}},{"text":"≥ 9.2.0-rc1, < 9.2.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"9.2.0-rc1","startInclusive":true,"end":"9.2.0","endInclusive":false}}],"versionsText":"< 7.2.16 | ≥ 8.0.0, < 8.0.13 | ≥ 8.1.0, < 8.1.12 | ≥ 9.0.0, < 9.0.8 | ≥ 9.1.0, < 9.1.4 | ≥ 9.2.0-rc1, < 9.2.0","eol":null,"hubHref":"/vendor/valkey/valkey"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/valkey-io/valkey/security/advisories/GHSA-3885-pq5f-788j","label":"github.com/valkey-io/valkey/security/advisories/GHSA-3885-pq5f-788j","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/valkey-io/valkey/issues/5422","label":"github.com/valkey-io/valkey/issues/5422","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/valkey-io/valkey/pull/5435","label":"github.com/valkey-io/valkey/pull/5435","hostname":"github.com","tags":["REPORT"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-130822","label":"security.alpinelinux.org/vuln/CVE-2026-130822","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-130822","label":"ubuntu.com/security/CVE-2026-130822","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-130822","label":"www.cve.org/CVERecord?id=CVE-2026-130822","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-130822","label":"security-tracker.debian.org/tracker/CVE-2026-130822","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-130822","label":"www.suse.com/security/cve/CVE-2026-130822","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["RHSA-2026:103160","RHSA-2026:103174","RHSA-2026:103175","RHSA-2026:103184","RHSA-2026:103193","RHSA-2026:103200"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-24T13:57:55.729Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-01T19:38:25.732Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,75],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00765,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-01T19:38:25.732Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-01T19:38:25.732Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_alpine","date":"2026-12-01T19:38:25.732Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-12-01T19:38:25.732Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-12-01T19:38:25.732Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-30T16:37:59.249Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00765,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:41:38.797Z","stale":false,"partial":false}}