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).

Severity (CVSS 4.0)9.2Critical
Exploit odds (30 days)0.3%top 72.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12thriftno fix listedDEBIAN-CVE-2026-91135
Debian:13thriftno fix listedDEBIAN-CVE-2026-91135
Debian:14thriftno fix listedDEBIAN-CVE-2026-91135
Ubuntu:22.04:LTSthriftno fix listedUBUNTU-CVE-2026-91135
Ubuntu:24.04:LTSthriftno fix listedUBUNTU-CVE-2026-91135
Ubuntu:26.04:LTSthriftno fix listedUBUNTU-CVE-2026-91135
Ubuntu:26.10thriftno fix listedUBUNTU-CVE-2026-91135

Affected products (as reported)

VendorProductVersions
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