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)

State
Published
Severity
8.7 High
Published
Oct 2, 2026
Updated
Oct 2, 2026
Reserved
Jul 27, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:Napache

Weaknesses

Affected Products

ProductVersions
Apache ThriftApache Software Foundation
  • before 0.25.0Affected
Apache ThriftApache Software Foundation
  • before 0.25.0Affected
Apache ThriftApache Software Foundation
  • before 0.25.0Affected
Apache ThriftApache Software Foundation
  • before 0.25.0Affected
Apache ThriftApache Software Foundation
  • before 0.25.0Affected
Apache ThriftApache Software Foundation
  • before 0.25.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.