CVE-2026-66858

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)

  • High 8.7

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.

Key facts

Published
2 Oct 2026
Last changed
2 Oct 2026
Assigned by
apache
EPSS
0.307% likely to be exploited in the next 30 days, higher than 23.811% of CVEs (scores for 17 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: yes; Technical impact: partial

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 8.7CVSS 4.0, Highfrom the CNA (apache)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

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
Apache Software FoundationApache Thrift
  • Default status: unaffected
  • 0 up to but excluding 0.25.0 (affected)
Apache Software FoundationApache Thrift
  • Default status: unaffected
  • 0 up to but excluding 0.25.0 (affected)
Apache Software FoundationApache Thrift
  • Default status: unaffected
  • 0 up to but excluding 0.25.0 (affected)
Apache Software FoundationApache Thrift
  • Default status: unaffected
  • 0 up to but excluding 0.25.0 (affected)
Apache Software FoundationApache Thrift
  • Default status: unaffected
  • 0 up to but excluding 0.25.0 (affected)
Apache Software FoundationApache Thrift
  • Default status: unaffected
  • 0 up to but excluding 0.25.0 (affected)

Timeline

  1. 2 Oct 2026 Published

Weakness

References