Skip to main content

Apache Thrift CVE-2026-66858

| EUVDEUVD-2026-91585 HIGH
Uncontrolled Recursion (CWE-674)
2026-10-02 apache GHSA-hfqq-j57v-2292
8.7
CVSS 4.0 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed Thrift endpoint
  2. Exploit
    Send deeply nested unknown fields
  3. Execution
    Skip routine recurses without limit
  4. Impact
    Stack 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Apache Thrift 0 <0.25.0

Affected Packages

euvd apache_thrift fix: 0.25.0

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

Vendor (apache) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat 7.5 HIGH

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 02, 2026 - 13:02 EUVD
CVE Published
Oct 02, 2026 - 12:27 cve.org
HIGH 8.7

DescriptionCVE.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.

Executive ViewAI

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Medium
popular cross-language RPC/serialization library, but only specific bindings affected
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Medium
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2026-91135 CRITICAL
9.2 Oct 02

Heap-based buffer overflow in the C++ THeaderTransport of Apache Thrift before 0.25.0 lets a remote, unauthenticated att

CVE-2026-83632 CRITICAL
9.2 Oct 02

Heap-based memory corruption in Apache Thrift versions before 0.25.0 lets unauthenticated remote attackers who can send

CVE-2026-86537 HIGH
8.7 Oct 02

Denial of service in Apache Thrift deployments that use the D language bindings before version 0.25.0, where malformed i

CVE-2026-94646 HIGH
8.7 Oct 02

Denial of service in the Apache Thrift Node.js bindings (all versions before 0.25.0) lets remote, unauthenticated attack

CVE-2026-93925 HIGH
8.7 Oct 02

Remote denial of service against Apache Thrift C++ deployments that use the THeaderProtocol is achievable by sending a c

CVE-2026-66081 HIGH
8.7 Oct 02

Remote, unauthenticated attackers can crash applications built against Apache Thrift's c_glib (C/GLib) language bindings

CVE-2026-66859 HIGH
8.7 Oct 02

Denial of service in Apache Thrift's c_glib (C/GLib) language bindings before 0.25.0, where a crafted or malformed messa

CVE-2026-83663 HIGH
8.7 Oct 02

Denial of service in Apache Thrift's Go bindings (all versions before 0.25.0) allows an unauthenticated remote peer to c

CVE-2026-83745 HIGH
8.7 Oct 02

Memory exhaustion in Apache Thrift's Node.js and D language WebSocket server transports (all versions before 0.25.0) let

CVE-2026-96277 HIGH
8.7 Oct 02

Uncaught exception handling in the Apache Thrift Ruby bindings lets unauthenticated remote attackers crash network-reach

CVE-2026-94658 HIGH
8.7 Oct 02

Inefficient algorithmic complexity (CWE-407) in Apache Thrift's Lua bindings prior to version 0.25.0 allows remote, unau

CVE-2026-87117 HIGH
8.7 Oct 02

Unauthenticated remote attackers can crash applications that use the Apache Thrift PHP bindings prior to version 0.25.0

Vendor StatusVendor

SUSE

Severity: Moderate

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy