Unbounded memory allocation in thrift binary protocol read_bytes
Affected versions of the thrift crate size a buffer directly from an attacker-controlled 4-byte length read off the wire, before reading any payload and with no upper bound, allowing a hostile peer to force a large eager allocation or an immediate abort (denial of service, CWE-400 / CWE-789). This is the Rust implementation's instance of the CVE-2020-13949 pattern, published by the Apache Thrift PMC as CVE-2026-43868.
Recorded fixes — thrift: 0.23.0. Check your release branch.
Exploitation not established
| Affected range | Recorded fix |
|---|---|
| From 0.0.0-0 before 0.23.0Semantic versions | 0.23.0 |
Version evidence: OSV · RUSTSEC-2026-0435
View original version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "0.23.0"
}
],
"type": "SEMVER"
}
],
"versions": []
}| Affected range | Recorded fix |
|---|---|
| Earlier releases before 0.23.0Semantic versions | 0.23.0 |
Version evidence: OSV · GHSA-2f9f-gq7v-9h6m
View original version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.23.0"
}
],
"type": "SEMVER"
}
],
"versions": []
}