Live threats

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

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.

Source text, unmodified. NVD.

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.

Vendor advisory · lists.apache.org ↗

  1. Apply the vendor's security update for Apache Thrift.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.