Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed Thrift endpoint
-
ExploitSend deeply nested unknown fields
-
ExecutionSkip routine recurses without limit
-
ImpactStack exhausted, service crashes
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | The target application must use one of the affected Apache Thrift bindings - the Python C++ accelerator (NOT the pure-Python protocols), the PHP library or its thrift_protocol extension, or the Perl, Lua, Smalltalk, or OCaml libraries - and must deserialize attacker-controlled Thrift messages (e.g. an exposed Thrift RPC server endpoint). Exploitation is triggered specifically by messages that nest unknown fields deeply, so the vulnerable code path is the protocol skip routine for unrecognized fields. Limiting factors: deployments on the unaffected pure-Python protocols are not exploitable, and upgrading to Thrift 0.25.0 (which restores the recursion limit) fully mitigates it; no authentication (PR:N) or user interaction (UI:N) is required otherwise. |
| Impact | This is a remote, unauthenticated denial-of-service flaw, not a code-execution or data-exposure bug: the provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms it is trivially reachable over the network with no privileges or user interaction, but the impact metrics (VC:N/VI:N/VA:H) show the only consequence is availability loss via stack exhaustion (CWE-674, uncontrolled recursion). The 8.7 'high' score is driven entirely by easy reachability plus total availability impact, so it is a genuine priority for any service that parses untrusted Thrift messages - but the real-world blast radius is bounded by the fact that only specific bindings are affected (Python C++ accelerator, PHP library and thrift_protocol extension, Perl, Lua, Smalltalk, OCaml), while pure-Python protocols are explicitly NOT affected. No EPSS score, KEV listing, or POC indicator was supplied, so exploitation likelihood cannot be quantified from the input; the absence of KEV/POC signals suggests no confirmed in-the-wild use at analysis time, though a recursion-to-stack-overflow bug is conceptually simple to trigger. Note the 'Information Disclosure' tag conflicts with the CVSS vector (VC:N, i.e. no confidentiality impact) and appears to be mislabeled - this is an availability issue only. |
| Exploit ScenarioDerived | An attacker sends a single crafted Thrift message containing unknown fields nested deeply enough that the protocol skip routine recurses past the stack limit, which the routine fails to enforce. Because the affected bindings process this without honoring the recursion depth limit, the parsing thread or process crashes, taking down the RPC endpoint. No authentication or user interaction is required, and 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
Stack exhaustion in Apache Thrift before 0.25.0 allows remote, unauthenticated attackers to crash processes that deserialize attacker-controlled Thrift messages, because the protocol skip routine in several language bindings fails to apply the binding's recursion limit when skipping unknown fields. The affected bindings are the Python C++ accelerator (the pure-Python protocols are not affected), the PHP library and its thrift_protocol extension, and the Perl, Lua, Smalltalk and OCaml libraries; the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms the bug is reachable over the network with no privileges or user interaction, but the impact metrics (VC:N/VI:N/VA:H) restrict the consequence to availability loss. There is no code execution or data exposure, no public exploit code and no confirmed active exploitation at time of analysis, and Apache has released version 0.25.0 which restores the recursion limit.
RemediationAI
Vendor-released patch: Apache Thrift 0.25.0, which reinstates the recursion limit in the affected skip routines; upgrade the Apache Thrift runtime and, critically, the language-specific library in use (the Python C++ accelerator package, the PHP library plus thrift_protocol extension, and the Perl, Lua, Smalltalk or OCaml bindings) rather than only the compiler or code generator, since the vulnerable parser ships with the runtime binding. If immediate upgrade is not possible, the most effective compensating control for Python deployments is to switch from the C++ accelerator to a pure-Python protocol implementation, which is not affected - the trade-off is reduced parsing throughput and possible behavioral differences for workloads that depend on the accelerator. For exposed Thrift RPC servers, restrict network reachability to trusted clients with firewall rules or mTLS (effective against external attackers but not against a malicious or compromised internal client), and enforce a maximum inbound message size and depth at the transport or framing layer (for example via a reverse proxy or a small dispatch shim that rejects oversized frames) to reduce, though not eliminate, the nesting depth an attacker can deliver. Because exploitation requires the service to deserialize attacker-supplied messages, disabling or firewalling unused Thrift endpoints removes exposure entirely, but this is only practical where the RPC surface is not business-critical; substituting a non-vulnerable protocol such as a pure-Python binding in front of the same service is preferred to disabling functionality. Advisory details and fixed-version guidance are available at https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1 and https://lists.apache.org/thread/6kl6g40tpl8zt3opd8fwn6bsgyddzhd5.
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
Apache Thrift is a cross-language RPC and serialization framework in which each language binding implements a protocol reader that must be able to consume and discard fields it does not recognize (the "skip" routine), so that a newer message schema does not break older clients. This advisory, CWE-674 (Uncontrolled Recursion), concerns that skip path: when a message contains unknown fields nested deeply enough, the recursive skip implementation descends without honoring the per-binding recursion limit that normally guards deserialization, so the call stack grows until it is exhausted and the process aborts. The root cause is configuration drift between bindings rather than a flaw in the Thrift protocol itself - the pure-Python protocol implementations are explicitly unaffected, while the Python C++ accelerator, the PHP library and thrift_protocol extension, and the Perl, Lua, Smalltalk and OCaml libraries all lack the guard on this code path. The CPE records are generic wildcard entries for the Apache Software Foundation's apache_thrift package rather than per-Bindings entries, so version-based matching (before 0.25.0) is the reliable way to identify exposure; the affected-versions data from EUVD confirms the same range of 0 to <0.25.0. The assessed CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) and the vendor's CVSS 4.0 vector agree that this is an availability-only defect, and any classification suggesting information disclosure is not supported by the assessed impact metrics.
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
Remote unauthenticated attacker sends one crafted message with no interaction (AV:N/AC:L/PR:N/UI:N); only availability is affected via stack exhaustion, so C:N/I:N/A:H.
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.org
The protocol skip routine in several Apache Thrift bindings did not apply the binding's recursion limit, so a message that nests unknown fields deeply enough can exhaust the stack. Affected: the Python C++ accelerator (the pure-Python protocols are not affected), the PHP library and its thrift_protocol extension, and the Perl, Lua, Smalltalk and OCaml libraries.
This issue affects Apache Thrift: before 0.25.0.
Users are recommended to upgrade to version 0.25.0, which fixes the issue.
Articles & Coverage 1
Executive ViewAI
Apache Thrift, a widely embedded serialization framework used in distributed services, contains a stack exhaustion flaw affecting several language bindings (Python C++ accelerator, PHP, Perl, Lua, Smalltalk, OCaml) that lets anyone on the network crash a deserializing process without credentials or user action. Because Thrift is frequently a shared dependency in service meshes and middleware, a single exposed endpoint could take down services that many internal or customer-facing applications depend on. Leadership should care because the impact is service availability rather than data compromise, but the blast radius may extend well beyond the systems that directly expose Thrift.
Apply vendor patch.
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
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 denial of service against Apache Thrift C++ deployments that use the THeaderProtocol is achievable by sending a c
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
EUVD-2026-91585
GHSA-hfqq-j57v-2292
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB