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

- Severity: Critical 9.2 (CVSS:4.0, scored by apache) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-10-02T10:28:50.745Z
- Modified: 2026-10-09T12:00:10.485Z
- Also known as: BIT-THRIFT-2026-91135
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: apache

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

(As written by CVE List.)

## Affected

- thrift: before 0.25.0
- thrift (Bitnami): before 0.25.0

## Every score

- apache: CVSS:4.0 9.2 Critical `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`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1> (vendor-advisory, web)
- <https://lists.apache.org/thread/rbpwlhlxnv2qgyk8cfscp2d2fd3p0ojb> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-91135> (web)

## Sources

- CVE List: [CVE-2026-91135](https://www.cve.org/CVERecord?id=CVE-2026-91135), CVE Terms of Use, modified 2026-10-02
- NVD: [CVE-2026-91135](https://nvd.nist.gov/vuln/detail/CVE-2026-91135), Public domain, modified 2026-10-02
- Bitnami Vulnerability Database: [BIT-THRIFT-2026-91135](https://osv.dev/vulnerability/BIT-THRIFT-2026-91135), Apache-2.0, modified 2026-10-09

---

Page: https://cve.day/CVE-2026-91135 · Whole record: https://cve.day/CVE-2026-91135.json · Rebuilt by cve.day 2026-11-25T22:59:41.935Z
