{"api_version":"1","generated_at":"2026-11-24T16:24:36+00:00","cve":"CVE-2026-136157","urls":{"html":"https://cve.report/CVE-2026-136157","api":"https://cve.report/api/cve/CVE-2026-136157.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-136157","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-136157"},"summary":{"title":"Valkey: Use-after-free in the RDMA transport when a client is freed while pending data is processed","description":"In Valkey 8.0.x before 8.0.11, 8.1.x before 8.1.10, 9.0.x before 9.0.6 and 9.1.x before 9.1.2, the RDMA transport's pending-data handler walks its connection list with an iterator that caches the next entry. A command processed from inside that loop, such as CLIENT KILL, can synchronously free another client's connection, and closing an RDMA connection did not remove it from the pending list, so the handler then uses freed memory. An authenticated user can use this to reliably crash the server, and the freed heap chunk can be reclaimed with attacker-influenced bytes. Only servers built with RDMA support (USE_RDMA) and configured with an RDMA listener are affected.","state":"PUBLISHED","assigner":"Akrites","published_at":"2026-11-24 15:17:33","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/pull/4534","name":"https://github.com/valkey-io/valkey/pull/4534","refsource":"7fefd608-56a6-419f-a002-fd8543c0710a","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/valkey-io/valkey/security/advisories/GHSA-jcj7-v34w-v9vv","name":"https://github.com/valkey-io/valkey/security/advisories/GHSA-jcj7-v34w-v9vv","refsource":"7fefd608-56a6-419f-a002-fd8543c0710a","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-136157","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-136157","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Valkey","product":"Valkey","version":"affected 8.0.0 8.0.11 semver","platforms":[]},{"source":"CNA","vendor":"Valkey","product":"Valkey","version":"affected 8.1.0 8.1.10 semver","platforms":[]},{"source":"CNA","vendor":"Valkey","product":"Valkey","version":"affected 9.0.0 9.0.6 semver","platforms":[]},{"source":"CNA","vendor":"Valkey","product":"Valkey","version":"affected 9.1.0 9.1.2 semver","platforms":[]}],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"Upgrade to Valkey 8.0.11, 8.1.10, 9.0.6, 9.1.2 or later.","time":"","lang":"en"}],"workarounds":[{"source":"CNA","title":"","value":"If you do not need RDMA, build without USE_RDMA or do not configure an RDMA listener. Otherwise, use Valkey ACLs to restrict the CLIENT command, in particular CLIENT KILL.","time":"","lang":"en"}],"exploits":[],"credits":[{"source":"CNA","value":"Andreas Gabriel Berbescu","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":"8.0.11","status":"affected","version":"8.0.0","versionType":"semver"},{"lessThan":"8.1.10","status":"affected","version":"8.1.0","versionType":"semver"},{"lessThan":"9.0.6","status":"affected","version":"9.0.0","versionType":"semver"},{"lessThan":"9.1.2","status":"affected","version":"9.1.0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","value":"Andreas Gabriel Berbescu"}],"datePublic":"2026-08-31T23:30:18.000Z","descriptions":[{"lang":"en","value":"In Valkey 8.0.x before 8.0.11, 8.1.x before 8.1.10, 9.0.x before 9.0.6 and 9.1.x before 9.1.2, the RDMA transport's pending-data handler walks its connection list with an iterator that caches the next entry. A command processed from inside that loop, such as CLIENT KILL, can synchronously free another client's connection, and closing an RDMA connection did not remove it from the pending list, so the handler then uses freed memory. An authenticated user can use this to reliably crash the server, and the freed heap chunk can be reclaimed with attacker-influenced bytes. Only servers built with RDMA support (USE_RDMA) and configured with an RDMA listener are 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-24T14:06:28.848Z","orgId":"7fefd608-56a6-419f-a002-fd8543c0710a","shortName":"Akrites"},"references":[{"url":"https://github.com/valkey-io/valkey/security/advisories/GHSA-jcj7-v34w-v9vv"},{"url":"https://github.com/valkey-io/valkey/pull/4534"}],"solutions":[{"lang":"en","value":"Upgrade to Valkey 8.0.11, 8.1.10, 9.0.6, 9.1.2 or later."}],"title":"Valkey: Use-after-free in the RDMA transport when a client is freed while pending data is processed","workarounds":[{"lang":"en","value":"If you do not need RDMA, build without USE_RDMA or do not configure an RDMA listener. Otherwise, use Valkey ACLs to restrict the CLIENT command, in particular CLIENT KILL."}],"x_generator":{"engine":"cvelib 1.8.0"}}},"cveMetadata":{"assignerOrgId":"7fefd608-56a6-419f-a002-fd8543c0710a","assignerShortName":"Akrites","cveId":"CVE-2026-136157","datePublished":"2026-11-24T14:06:28.848Z","dateReserved":"2026-11-24T13:53:38.491Z","dateUpdated":"2026-11-24T14:06:28.848Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-24 15:17:33","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":"136157","Ordinal":"1","Title":"Valkey: Use-after-free in the RDMA transport when a client is fr","CVE":"CVE-2026-136157","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"136157","Ordinal":"1","NoteData":"In Valkey 8.0.x before 8.0.11, 8.1.x before 8.1.10, 9.0.x before 9.0.6 and 9.1.x before 9.1.2, the RDMA transport's pending-data handler walks its connection list with an iterator that caches the next entry. A command processed from inside that loop, such as CLIENT KILL, can synchronously free another client's connection, and closing an RDMA connection did not remove it from the pending list, so the handler then uses freed memory. An authenticated user can use this to reliably crash the server, and the freed heap chunk can be reclaimed with attacker-influenced bytes. Only servers built with RDMA support (USE_RDMA) and configured with an RDMA listener are affected.","Type":"Description","Title":"Valkey: Use-after-free in the RDMA transport when a client is fr"}]}}}