Bug 2545013 (CVE-2026-91135)

Summary: CVE-2026-91135 thrift: Apache Thrift: Arbitrary code execution via heap-based buffer overflow during frame compression
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: aazores, akhatavk, alinfoot, amctagga, aoconnor, aos-team-art-private, asdas, blitton, bniver, cmah, dpaolell, dtrifiro, eaguilar, ebaron, ebourniv, eglynn, flucifre, gbenhaim, gmeno, gparvin, groman, hasun, jbalunas, jcantril, jdelft, jjoyce, jmatsuok, jpretori, jschluet, jtolenti, jupierce, kaycoth, lchilton, lgarciaa, lhh, mbarnett, mbenjamin, mbiarnes, mburns, mgarciac, mhackett, mwoodson, mwringe, niyer, nyancey, pjindal, ppalepu, ppostler, prdhamdh, ptisnovs, rhaigner, rhel-process-autobot, rojacob, sbunciak, sfeifer, sghai, sidsharm, sostapov, suppawar, tsze, twaugh, vereddy, vlaad, watson-tool-maintainers, weaton
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Apache Thrift. A remote attacker can exploit a heap-based buffer overflow in the C++ transport component to achieve arbitrary code execution or cause a Denial of Service (DoS) through an application crash. The vulnerability occurs when an application enables compression transforms on outbound message frames and processes incompressible input provided by an untrusted peer. When the data expands during compression, it is copied into a memory buffer without adequate boundary validation, resulting in data being written outside the allocated memory limits.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2553680, 2553682    
Bug Blocks:    

Description OSIDB Bzimport 2026-10-02 10:41:25 UTC
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.