CVE-2026-91135 Apache Thrift: C++ `THeaderTransport::transform()` heap buffer overflow (write direction)

Critical 9.2 Published Updated

A heap buffer overflow in Apache Thrift C++ allows remote attackers to execute code or cause denial of service when ZLIB compression is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-91135?

CVE-2026-91135 is a critical memory corruption vulnerability in Apache Thrift, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-122

Which versions are affected by CVE-2026-91135?

1 open source package ship an affected version, including thrift.

PackageAffectedFixed in
thrift BitnamiAll versions0.25.0

How do I fix CVE-2026-91135?

Upgrade thrift to 0.25.0 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-91135 being exploited?

There is no known exploitation of CVE-2026-91135 in the wild and no public exploit code.

Sources

Also known as AZL-105425, BIT-thrift-2026-91135, DEBIAN-CVE-2026-91135, ECHO-f016-0b10-74ab, GHSA-3gv9-wqfp-2rf3, MINI-2x62-3hqx-jjhq and 1 more.

Is CVE-2026-91135 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free