CVE-2026-66858

Summary

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.

Affected Software

VendorProductVersion RangeStatus
Apache Software FoundationApache Thrift0 < 0.25.0affected
Apache Software FoundationApache Thrift0 < 0.25.0affected
Apache Software FoundationApache Thrift0 < 0.25.0affected
Apache Software FoundationApache Thrift0 < 0.25.0affected
Apache Software FoundationApache Thrift0 < 0.25.0affected
Apache Software FoundationApache Thrift0 < 0.25.0affected

Weaknesses

  • CWE-674: CWE-674 Uncontrolled Recursion

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: yes
    • Technical Impact: partial

References