CVE-2026-136157 (GCVE-0-2026-136157)
Vulnerability from cvelistv5 – Published: 2026-11-24 14:06 – Updated: 2026-11-24 14:06
VLAI
EPSS
VEX
Title
Valkey: Use-after-free in the RDMA transport when a client is freed while pending data is processed
Summary
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.
Severity
7.5 (High)
CWE
- CWE-416 - Use After Free
References
Impacted products
Date Public
2026-08-31 23:30
{
"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\u0027s 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\u0027s 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",
"vulnerability-lookup:meta": {
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"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"
}
]
}
],
"source": "7fefd608-56a6-419f-a002-fd8543c0710a"
}
],
"cveTags": [],
"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\u0027s 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\u0027s 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."
}
],
"id": "CVE-2026-136157",
"lastModified": "2026-11-24T15:19:53.317",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"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"
},
"exploitabilityScore": 1.6,
"impactScore": 5.9,
"source": "7fefd608-56a6-419f-a002-fd8543c0710a",
"type": "Secondary"
}
]
},
"published": "2026-11-24T15:17:33.797",
"references": [
{
"source": "7fefd608-56a6-419f-a002-fd8543c0710a",
"url": "https://github.com/valkey-io/valkey/pull/4534"
},
{
"source": "7fefd608-56a6-419f-a002-fd8543c0710a",
"url": "https://github.com/valkey-io/valkey/security/advisories/GHSA-jcj7-v34w-v9vv"
}
],
"sourceIdentifier": "7fefd608-56a6-419f-a002-fd8543c0710a",
"vulnStatus": "Awaiting Analysis",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-416"
}
],
"source": "7fefd608-56a6-419f-a002-fd8543c0710a",
"type": "Secondary"
}
]
}
},
"redhat_vex": {
"aggregate_severity": "Important",
"current_release_date": "2026-11-24T19:58:01+00:00",
"cve": "CVE-2026-136157",
"id": "CVE-2026-136157",
"initial_release_date": "2026-11-24T14:06:28.848000+00:00",
"product_status:known_affected": "1",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "valkey: valkey: Arbitrary code execution via use-after-free in RDMA transport",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-136157.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…