Severity: important
CVSS 4.0: 8.7 (high)
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
Affected versions:
- Apache Thrift (thrift) before 0.25.0
- Apache Thrift (apache/thrift) before 0.25.0
- Apache Thrift (Thrift) before 0.25.0
- Apache Thrift (Lua) before 0.25.0
- Apache Thrift (Smalltalk) before 0.25.0
- Apache Thrift (OCaml) before 0.25.0
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.
Credit:
Claude (Anthropic Research) (finder)
Arthur Chan, Ada Logics (analyst)
Apache Thrift Developers (finder)
References:
https://thrift.apache.org/
https://www.cve.org/CVERecord?id=CVE-2026-66858