Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed Thrift C++ endpoint
-
DeliverySend crafted THeaderProtocol message
-
ExploitTrigger incorrect integer shift
-
ExecutionOverflow stack buffer in parser
-
ImpactCrash service (denial of service)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target to be an Apache Thrift C++ service (version before 0.25.0) that uses the THeaderProtocol; services using other Thrift protocols/transports are not affected by this specific code path. Given AV:N/AC:L/PR:N/UI:N, no authentication, special privileges, or user interaction is needed, and default handling of crafted header input is sufficient to trigger the flaw - the primary limiting factors are that the vulnerable THeaderProtocol must be in use, the endpoint must be network-reachable to the attacker, and the deployed version must predate 0.25.0. |
| Impact | The CVSS 4.0 base score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N) describes a remotely reachable, low-complexity flaw needing no privileges or user interaction - signals that normally warrant high prioritization. However, the impact metrics are the decisive nuance: only availability is affected (VA:H) while confidentiality and integrity are rated N (VC:N/VI:N). This means the vendor scoped the issue as a remote denial-of-service (crash/hang), NOT remote code execution, even though CWE-121 stack-based buffer overflows frequently enable RCE. This is a notable tension: a stack overflow plus an incorrect integer bitwise shift would ordinarily raise RCE concern, yet the official 4.0 vector asserts no integrity or confidentiality impact - defenders should treat the no-RCE claim as vendor-assessed rather than independently proven and verify with the Apache advisory. No EPSS score, CISA KEV listing, or POC was provided in the input, so there is no public exploit identified at time of analysis and no evidence of active exploitation. Net: a real but availability-bounded priority - worth patching promptly on internet-exposed or multi-tenant Thrift C++ services, but it is a DoS exposure as scored, not a confirmed code-execution emergency. |
| Exploit ScenarioDerived | An attacker sends a crafted THeaderProtocol message to a network-exposed Apache Thrift C++ service; the malformed header triggers an incorrect integer bitwise shift that miscomputes a size, causing a stack-based buffer overflow that crashes the server process. No authentication or user interaction is required, enabling repeated remote denial of service. No public exploit code was identified in the provided data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 02, 2026
Remote denial of service against Apache Thrift C++ deployments that use the THeaderProtocol is achievable by sending a crafted frame header to a network-reachable Thrift endpoint, causing a stack-based buffer overflow that crashes the service; the flaw combines CWE-121 with an incorrect bitwise shift of an integer in the same header-parsing code path. Every Apache Thrift release before 0.25.0 ships the vulnerable C++ implementation, although only services that actually use the THeaderProtocol transport are exposed - services built against other Thrift protocols or transports are not affected by this specific code path. The CVSS 4.0 base score is 8.7 on a fully unauthenticated, network-reachable vector with availability-only impact (VC:N/VI:N/VA:H), and no public exploit code or confirmed active exploitation has been identified at time of analysis.
RemediationAI
Upgrade to the vendor-released fix: Apache Thrift 0.25.0, which corrects the header-parsing defect; the advisories at https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1 and https://lists.apache.org/thread/b4rrkrwoyqb9g7hk58d3fx09cbvp1tg9 provide the official guidance. Rebuild and redeploy any C++ service or library statically linked against an older Thrift, and verify that no bundled copies of libthrift remain in container images or vendored dependencies. If an immediate upgrade is not feasible, reduce exposure by removing network reachability to Thrift C++ endpoints that negotiate THeaderProtocol - front them with firewall allowlists or a service mesh so only trusted clients can reach the listener - accepting that this is a perimeter control and does not fix the underlying parsing flaw. A stronger functional workaround is to reconfigure both client and server to use TBinaryProtocol or TCompactProtocol over TFramedTransport (or to build the C++ library without the THeaderProtocol transport); this eliminates the vulnerable code path entirely, at the trade-off of losing header-transport features such as per-request metadata, transforms, and cross-language header negotiation, and it breaks wire compatibility with peers that require THeader. TLS termination at a reverse proxy does not mitigate the flaw, since the malicious header is inside the encrypted RPC payload; only transport substitution, network restriction, or the 0.25.0 upgrade meaningfully reduce risk.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
THeaderProtocol is Apache Thrift's header-based transport, which prefixes each RPC message with a variable-length frame header containing magic bytes, flags, a sequence number, a header-size field, protocol and transform identifiers, and key/value info pairs; many of these fields are decoded using variable-width integer encodings whose parsing logic depends on bit shifts and length arithmetic. The reported defect pairs an incorrect bitwise shift of an integer (producing a mis-computed length or offset) with a stack-based buffer overflow (CWE-121), meaning a crafted header can drive an unchecked copy into a fixed-size stack buffer inside the C++ THeaderProtocol implementation, corrupting stack memory and terminating or destabilising the process. The authoritative assessment rates this CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - remote, low complexity, no privileges, no user interaction, with availability-only impact and no assessed confidentiality or integrity loss. The affected CPE entry cpe:2.3:a:apache_software_foundation:apache_thrift:*:*:*:*:*:*:*:* confirms the whole Apache Software Foundation Thrift distribution prior to 0.25.0, with the exploitable code residing in the C++ library rather than in other language runtimes.
Know when Apache Thrift gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Remotely reachable protocol parser with no auth or interaction gives AV:N/AC:L/PR:N/UI:N; impact is a crash only, so C:N/I:N/A:H and scope unchanged.
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.org
Stack-based buffer overflow, Incorrect bitwise shift of integer vulnerability in Apache Thrift C++ THeaderProtocol.
This issue affects Apache Thrift: before 0.25.0.
Users are recommended to upgrade to version 0.25.0, which fixes the issue.
Executive ViewAI
Apache Thrift C++ services using the THeaderProtocol are exposed to a remote denial-of-service vulnerability that can crash the service, disrupting availability for network-reachable endpoints. Organizations with such deployments face potential operational downtime, though no public exploit or active exploitation has been identified. Leadership should direct teams to identify affected services and apply interim mitigations while awaiting a vendor patch.
Disable THeaderProtocol, restrict network access to trusted sources, migrate to alternative Thrift protocols or transports, implement rate limiting and deep packet inspection for Thrift traffic, and monitor for anomalous frame headers.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
More in Apache Thrift
View allHeap-based buffer overflow in the C++ THeaderTransport of Apache Thrift before 0.25.0 lets a remote, unauthenticated att
Heap-based memory corruption in Apache Thrift versions before 0.25.0 lets unauthenticated remote attackers who can send
Denial of service in Apache Thrift deployments that use the D language bindings before version 0.25.0, where malformed i
Denial of service in the Apache Thrift Node.js bindings (all versions before 0.25.0) lets remote, unauthenticated attack
Remote, unauthenticated attackers can crash applications built against Apache Thrift's c_glib (C/GLib) language bindings
Denial of service in Apache Thrift's c_glib (C/GLib) language bindings before 0.25.0, where a crafted or malformed messa
Denial of service in Apache Thrift's Go bindings (all versions before 0.25.0) allows an unauthenticated remote peer to c
Memory exhaustion in Apache Thrift's Node.js and D language WebSocket server transports (all versions before 0.25.0) let
Uncaught exception handling in the Apache Thrift Ruby bindings lets unauthenticated remote attackers crash network-reach
Inefficient algorithmic complexity (CWE-407) in Apache Thrift's Lua bindings prior to version 0.25.0 allows remote, unau
Unauthenticated remote attackers can crash applications that use the Apache Thrift PHP bindings prior to version 0.25.0
Memory exhaustion in Apache Thrift before 0.25.0 lets unauthenticated remote attackers crash services that deserialize a
Same weakness CWE-121 – Stack-based Buffer Overflow
View allSame technique Buffer Overflow
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2026-91369
GHSA-4884-wghm-c634
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB