Apache Thrift: C++ `THeaderTransport::transform()` heap buffer overflow (write direction)
Heap-based buffer overflow vulnerability in Apache Thrift C++ THeaderTransport. When an application enables the ZLIB transform for the frames it sends, THeaderTransport::transform() copies the compressed frame into the write buffer without making sure it fits. Data that does not compress, such as content a remote peer supplied, grows under compression, so the copy writes past the end of the heap buffer by an amount that grows with the size of the frame, and for large frames it also reads past the end of the transform buffer. This issue affects Apache Thrift: before 0.25.0. Users are recommended to upgrade to version 0.25.0, which fixes the issue.
- Products
- thrift
- Affected versions
- Not specified
- Fixed versions
- 0.25.0
- CVEs
- CVE-2026-91135
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 12:32 UTC · Revision 1
Source evidence
Apache Thrift: C++ `THeaderTransport::transform()` heap buffer overflow (write direction)
core-osv · Original sourcePublished 9 Oct 2026, 10:53 UTC
Heap-based buffer overflow vulnerability in Apache Thrift C++ THeaderTransport. When an application enables the ZLIB transform for the frames it sends, THeaderTransport::transform() copies the compressed frame into the write buffer without making sure it fits. Data that does not compress, such as content a remote peer supplied, grows under compression, so the copy writes past the end of the heap buffer by an amount that grows with the size of the frame, and for large frames it also reads past the end of the transform buffer. This issue affects Apache Thrift: before 0.25.0. Users are recommended to upgrade to version 0.25.0, which fixes the issue.
osv:BIT-thrift-2026-91135
thrift
Fixed versions: 0.25.0
Complete source record
{
"id": "33bcd8ab2a385d81ab014c5b00dcb49c30e216fea25c16267e6b72cf817dd2a8",
"url": "https://osv.dev/vulnerability/BIT-thrift-2026-91135",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Apache Thrift: C++ `THeaderTransport::transform()` heap buffer overflow (write direction)",
"summary": "Heap-based buffer overflow vulnerability in Apache Thrift C++ THeaderTransport. When an application enables the ZLIB transform for the frames it sends, THeaderTransport::transform() copies the compressed frame into the write buffer without making sure it fits. Data that does not compress, such as content a remote peer supplied, grows under compression, so the copy writes past the end of the heap buffer by an amount that grows with the size of the frame, and for large frames it also reads past the end of the transform buffer. This issue affects Apache Thrift: before 0.25.0. Users are recommended to upgrade to version 0.25.0, which fixes the issue.",
"evidence": "osv:BIT-thrift-2026-91135",
"products": [
{
"name": {
"value": "thrift",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.25.0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "BIT-thrift-2026-91135",
"aliases": [
"BIT-thrift-2026-91135",
"CVE-2026-91135"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.25.0"
}
]
}
],
"package": {
"name": "thrift",
"purl": "pkg:bitnami/thrift",
"ecosystem": "Bitnami"
},
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
}
],
"database_specific": {
"source": "https://github.com/bitnami/vulndb/tree/main/data/thrift/BIT-thrift-2026-91135.json"
}
}
],
"modified": "2026-10-09T12:00:10.485801873Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1",
"https://lists.apache.org/thread/rbpwlhlxnv2qgyk8cfscp2d2fd3p0ojb",
"https://nvd.nist.gov/vuln/detail/CVE-2026-91135"
],
"provider_metadata": {
"cpes": [
"cpe:2.3:a:apache:thrift:*:*:*:*:*:c++:*:*"
],
"severity": "Critical"
}
},
"related_cves": [
{
"value": "CVE-2026-91135",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 120670,
"published_at": "2026-10-09T10:53:14.306+00:00"
}