Vulnerability · Published Oct 2, 2026 · Assigned by apache
CVE-2026-91135Apache Thrift: C++ `THeaderTransport::transform()` heap buffer overflow (write direction)
Critical 9.2
In plain English
A critical-severity heap buffer overflow in Apache Thrift from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities).
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | thrift | no fix listed | DEBIAN-CVE-2026-91135 |
| Debian:13 | thrift | no fix listed | DEBIAN-CVE-2026-91135 |
| Debian:14 | thrift | no fix listed | DEBIAN-CVE-2026-91135 |
| Ubuntu:22.04:LTS | thrift | no fix listed | UBUNTU-CVE-2026-91135 |
| Ubuntu:24.04:LTS | thrift | no fix listed | UBUNTU-CVE-2026-91135 |
| Ubuntu:26.04:LTS | thrift | no fix listed | UBUNTU-CVE-2026-91135 |
| Ubuntu:26.10 | thrift | no fix listed | UBUNTU-CVE-2026-91135 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Thrift | 0 – before 0.25.0 |
Weakness: CWE-122 · Vector: 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
References
- https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1 vendor-advisory
- https://lists.apache.org/thread/rbpwlhlxnv2qgyk8cfscp2d2fd3p0ojb vendor-advisory