All CVEs / Apache Software Foundation
CVE-2026-91135Apache Software Foundation Apache Thrift
Heap-based buffer overflow in Apache Thrift C++
Critical 9.2 No auth needed
Follow: this CVE · Apache Software Foundation · Apache Software Foundation Apache Thrift We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 4.0
- 9.2
- EPSS
- —
- Auth required
- No
- Published
- Oct 2, 2026
- Updated
- Oct 2, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-122
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- 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/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
What happens
Apache Thrift versions before 0.25.0 contain a heap-based buffer overflow in THeaderTransport when ZLIB transform is enabled. A remote unauthenticated attacker can send data that fails to compress properly, causing writes beyond buffer boundaries and potentially executing arbitrary code.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 0.25.0
Update Apache Thrift to version 0.25.0 or later to fix the buffer overflow in THeaderTransport.
- Apply the vendor's security update for Apache Thrift.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- Apache Software Foundation · Apache Thrift
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for thrift · SUSE · openSUSE-SU-2026:22330-1 · Nov 12, 2026 Critical
- libthrift-0_25_0-0.25.0-1.1 on GA media · SUSE · openSUSE-SU-2026:12051-1 · Oct 4, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.