{"api_version":"1","generated_at":"2026-11-24T16:42:36+00:00","cve":"CVE-2026-130822","urls":{"html":"https://cve.report/CVE-2026-130822","api":"https://cve.report/api/cve/CVE-2026-130822.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-130822","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-130822"},"summary":{"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.","state":"PUBLISHED","assigner":"Akrites","published_at":"2026-11-24 14:18:03","updated_at":"2026-11-24 15:19:53"},"problem_types":["CWE-416","CWE-416 CWE-416 Use After Free"],"metrics":[{"version":"3.1","source":"7fefd608-56a6-419f-a002-fd8543c0710a","type":"Secondary","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","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"CVSS","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","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/valkey-io/valkey/issues/5422","name":"https://github.com/valkey-io/valkey/issues/5422","refsource":"7fefd608-56a6-419f-a002-fd8543c0710a","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/valkey-io/valkey/pull/5435","name":"https://github.com/valkey-io/valkey/pull/5435","refsource":"7fefd608-56a6-419f-a002-fd8543c0710a","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/valkey-io/valkey/security/advisories/GHSA-3885-pq5f-788j","name":"https://github.com/valkey-io/valkey/security/advisories/GHSA-3885-pq5f-788j","refsource":"7fefd608-56a6-419f-a002-fd8543c0710a","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-130822","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130822","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Valkey","product":"Valkey","version":"affected 7.2.16 semver","platforms":[]},{"source":"CNA","vendor":"Valkey","product":"Valkey","version":"affected 8.0.0 8.0.13 semver","platforms":[]},{"source":"CNA","vendor":"Valkey","product":"Valkey","version":"affected 8.1.0 8.1.12 semver","platforms":[]},{"source":"CNA","vendor":"Valkey","product":"Valkey","version":"affected 9.0.0 9.0.8 semver","platforms":[]},{"source":"CNA","vendor":"Valkey","product":"Valkey","version":"affected 9.1.0 9.1.4 semver","platforms":[]},{"source":"CNA","vendor":"Valkey","product":"Valkey","version":"affected 9.2.0-rc1 9.2.0 semver","platforms":[]}],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"Upgrade to Valkey 7.2.16, 8.0.13, 8.1.12, 9.0.8, 9.1.4, 9.2.0 or later.","time":"","lang":"en"}],"workarounds":[{"source":"CNA","title":"","value":"Set maxmemory-clients to 0, which disables client eviction; if you do, make sure client-output-buffer-limit and maxmemory still bound client memory. If client eviction is required, use Valkey ACLs so that untrusted users cannot write to keys that other clients block on, and cannot run the blocking commands (BLPOP, BRPOP, BLMOVE, BRPOPLPUSH, BLMPOP, BZPOPMIN, BZPOPMAX, BZMPOP, and XREAD or XREADGROUP with BLOCK).","time":"","lang":"en"}],"exploits":[],"credits":[{"source":"CNA","value":"Nadav Levanoni","lang":"en"},{"source":"CNA","value":"Nadav Levanoni","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Valkey","repo":"https://github.com/valkey-io/valkey","vendor":"Valkey","versions":[{"lessThan":"7.2.16","status":"affected","version":"0","versionType":"semver"},{"lessThan":"8.0.13","status":"affected","version":"8.0.0","versionType":"semver"},{"lessThan":"8.1.12","status":"affected","version":"8.1.0","versionType":"semver"},{"lessThan":"9.0.8","status":"affected","version":"9.0.0","versionType":"semver"},{"lessThan":"9.1.4","status":"affected","version":"9.1.0","versionType":"semver"},{"lessThan":"9.2.0","status":"affected","version":"9.2.0-rc1","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","value":"Nadav Levanoni"},{"lang":"en","type":"remediation developer","value":"Nadav Levanoni"}],"datePublic":"2026-11-19T17:42:05.000Z","descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","description":"CWE-416 Use After Free","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-24T13:57:55.729Z","orgId":"7fefd608-56a6-419f-a002-fd8543c0710a","shortName":"Akrites"},"references":[{"url":"https://github.com/valkey-io/valkey/security/advisories/GHSA-3885-pq5f-788j"},{"url":"https://github.com/valkey-io/valkey/issues/5422"},{"url":"https://github.com/valkey-io/valkey/pull/5435"}],"solutions":[{"lang":"en","value":"Upgrade to Valkey 7.2.16, 8.0.13, 8.1.12, 9.0.8, 9.1.4, 9.2.0 or later."}],"title":"Valkey: Use-after-free when client eviction frees the client whose command is still executing","workarounds":[{"lang":"en","value":"Set maxmemory-clients to 0, which disables client eviction; if you do, make sure client-output-buffer-limit and maxmemory still bound client memory. If client eviction is required, use Valkey ACLs so that untrusted users cannot write to keys that other clients block on, and cannot run the blocking commands (BLPOP, BRPOP, BLMOVE, BRPOPLPUSH, BLMPOP, BZPOPMIN, BZPOPMAX, BZMPOP, and XREAD or XREADGROUP with BLOCK)."}],"x_generator":{"engine":"cvelib 1.8.0"}}},"cveMetadata":{"assignerOrgId":"7fefd608-56a6-419f-a002-fd8543c0710a","assignerShortName":"Akrites","cveId":"CVE-2026-130822","datePublished":"2026-11-24T13:57:55.729Z","dateReserved":"2026-11-17T17:23:33.028Z","dateUpdated":"2026-11-24T13:57:55.729Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-24 14:18:03","lastModifiedDate":"2026-11-24 15:19:53","problem_types":["CWE-416","CWE-416 CWE-416 Use After Free"],"metrics":{"cvssMetricV31":[{"source":"7fefd608-56a6-419f-a002-fd8543c0710a","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.6,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"130822","Ordinal":"1","Title":"Valkey: Use-after-free when client eviction frees the client who","CVE":"CVE-2026-130822","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"130822","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Valkey: Use-after-free when client eviction frees the client who"}]}}}