Skip to main content

CVE-2026-91135: CWE-122 Heap-based buffer overflow in Apache Software Foundation Apache Thrift

0
Critical
Published: 10/02/2026 (10/02/2026, 10:28:50 UTC)
Source: GCVE Database
Vendor/Project: Apache Software Foundation
Product: Apache Thrift

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.

CVSS v4.0

Score 9.2critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
apache/thrift
pkg:github/apache/thrift
Affected versions
<0.25.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/02/2026, 18:01:39 UTC

Technical Analysis

The vulnerability in Apache Thrift C++ THeaderTransport arises when the ZLIB transform is enabled for frames. The transform() method copies compressed data into a write buffer without ensuring the buffer is large enough. Since some data may grow after compression (e.g., data supplied by a remote peer), this can cause a heap-based buffer overflow by writing past the end of the allocated buffer. Additionally, for large frames, it can read past the end of the transform buffer. This flaw affects Apache Thrift versions prior to 0.25.0 and is addressed by upgrading to version 0.25.0.

Potential Impact

Exploitation of this vulnerability can lead to heap-based buffer overflow conditions, which may allow an attacker to cause application crashes or potentially execute arbitrary code. The vulnerability is critical due to the possibility of remote exploitation without authentication and the high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

Users should upgrade Apache Thrift to version 0.25.0 or later, where this vulnerability is fixed. No other mitigations are indicated. Patch status is confirmed by the vendor advisory recommending upgrade to 0.25.0.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-3gv9-wqfp-2rf3
Osv Schema Version
1.4.0
Aliases
["CVE-2026-91135"]
Database Specific Severity
CRITICAL
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6abfee9aa43b0b3b89e55189

Added to database: 10/02/2026, 17:49:14 UTC

Last enriched: 10/02/2026, 18:01:39 UTC

Last updated: 10/03/2026, 02:45:57 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses