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.
Published: 2026-10-02
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via stack exhaustion
Action: Immediate Patch
AI Analysis

Impact

The protocol’s skip function in multiple Apache Thrift bindings omitted the binding’s recursion limit, allowing a message with deeply nested unknown fields to consume excessive stack space and crash the process. This results in denial of service for any service using the affected bindings. No evidence of arbitrary code execution is provided in the CVE description, so the impact remains a crash and service outage. The weakness is labeled as CWE‑674 and CWE‑770.

Affected Systems

Apache Thrift versions before 0.25.0. Affected language bindings include the Python C++ accelerator (not the pure‑Python protocols), the PHP library and its thrift_protocol extension, and the Perl, Lua, Smalltalk, and OCaml libraries.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity threat. EPSS data is unavailable and the vulnerability is not listed in CISA KEV. Attackers can craft a Thrift message that exceeds the recursion depth; the attack vector is inferred to be remote over the network interface that receives Thrift traffic. Successful exploitation leads to a stack overflow that terminates the service, causing a denial of service.

Generated by OpenCVE AI on October 3, 2026 at 01:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Thrift to version 0.25.0 or later; for PHP, update both the library and its thrift_protocol extension to the patched version.
  • If an immediate upgrade is not feasible, isolate the affected service from untrusted networks using a firewall or network segmentation.
  • Apply rate limiting or traffic shaping to inbound Thrift connections to reduce the impact of repeated exploitation attempts.

Generated by OpenCVE AI on October 3, 2026 at 01:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 04 Oct 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache thrift
Vendors & Products Apache
Apache thrift

Sat, 03 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat hummingbird
Weaknesses CWE-770
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important


Fri, 02 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 02 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
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.
Title Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift: skip() does not apply the recursion limit (Python accelerator, PHP, Perl, Lua, Smalltalk, OCaml)
Weaknesses CWE-674
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-10-02T16:54:25.933Z

Reserved: 2026-07-27T22:27:11.611Z

Link: CVE-2026-66858

cve-icon Vulnrichment

Updated: 2026-10-02T16:54:18.940Z

cve-icon NVD

Status : Deferred

Published: 2026-10-02T13:17:53.453

Modified: 2026-10-02T17:17:07.357

Link: CVE-2026-66858

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-02T12:27:31Z

Links: CVE-2026-66858 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-04T20:54:06Z

Weaknesses
  • CWE-674

    Uncontrolled Recursion

  • CWE-770

    Allocation of Resources Without Limits or Throttling