CVE-2026-66858
Received Received - Intake

Stack Overflow in Apache Thrift Bindings

Vulnerability report for CVE-2026-66858, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-02

Last updated on: 2026-10-02

Assigner: Apache Software Foundation

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-02
Last Modified
2026-10-02
Generated
2026-10-02
AI Q&A
2026-10-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
apache thrift to 0.25.0 (exc)
apache thrift From 0.25.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-674 The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The vulnerability involves Apache Thrift's protocol skip routine in several bindings not enforcing recursion limits. This allows deeply nested unknown fields in a message to cause a stack exhaustion attack.

Detection Guidance

This vulnerability can be detected by checking the version of Apache Thrift installed on your system. If the version is before 0.25.0, the system is vulnerable. Use commands like 'thrift --version' or check package managers (e.g., 'pip show thrift' for Python).

Monitor for stack exhaustion errors in logs, especially during message parsing. Look for crashes or performance degradation in applications using Thrift bindings.

Impact Analysis

An attacker could exploit this to crash applications using affected Apache Thrift bindings by sending maliciously crafted messages, leading to denial of service.

Compliance Impact

This vulnerability could potentially impact compliance with standards like GDPR or HIPAA by enabling denial-of-service attacks through stack exhaustion, which may disrupt services handling sensitive data. However, the provided CVE details do not explicitly link this issue to compliance requirements.

Mitigation Strategies

Upgrade Apache Thrift to version 0.25.0 or later to address the stack exhaustion issue in affected bindings.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-66858. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart