Skip to content
CVE PROGRAM SOURCE RECORD8.7 High

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)

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Apache Software Foundation Apache Thrift

Default version status: unaffected

  • 0 to < 0.25.0affected
pkg:pypi/thrift

Apache Software Foundation Apache Thrift

Default version status: unaffected

  • 0 to < 0.25.0affected
pkg:composer/apache/thrift

Apache Software Foundation Apache Thrift

Default version status: unaffected

  • 0 to < 0.25.0affected
pkg:cpan/Thrift

Apache Software Foundation Apache Thrift

Default version status: unaffected

  • 0 to < 0.25.0affected

Apache Software Foundation Apache Thrift

Default version status: unaffected

  • 0 to < 0.25.0affected

Apache Software Foundation Apache Thrift

Default version status: unaffected

  • 0 to < 0.25.0affected

References