---
id: CVE-2026-91135
title: >-
  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 wi…
summary: >-
  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 wi…
severity: critical
cvss: 9.2
cvssVector: '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'
cwe:
  - CWE-122
  - CWE-787
vendor: Apache Software Foundation
product: thrift
affected:
  - thrift < 0.25.0
published: '2026-10-02'
updated: '2026-10-02'
sourceUpdated: '2026-10-02T18:17:06.963'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-91135'
references:
  - url: 'https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1'
    label: security@apache.org
  - url: 'https://lists.apache.org/thread/rbpwlhlxnv2qgyk8cfscp2d2fd3p0ojb'
    label: security@apache.org
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-91135.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-91135'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2545013'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-91135'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-91135'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
  - score-dispute
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-02T17:47:12.855344Z'
cvssSource: cna
ingestedAt: '2026-10-02T11:16:44.277Z'
epss: 0.00339
epssPercentile: 0.27136
scores:
  cna: 9.2
  vendor: 7
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Important · affected: Ansible Automation Orchestrator 2026, Cryostat 4, Lightspeed Core, Logging Subsystem for Red Hat OpenShift, Red Hat Ceph Storage 5, Red Hat Ceph Storage 6, … · no fix planned: Logging Subsystem for Red Hat OpenShift, Red Hat Ceph Storage 5, Red Hat Ceph Storage 6, Red Hat Ceph Storage 7, … · updated 2026-10-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-91135.json)
