CVE-2026-66858 Details
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.
A vulnerability exists in several Apache Thrift bindings, including the Python C++ accelerator (excluding pure-Python protocols), the PHP library and its thrift_protocol extension, as well as the Perl, Lua, Smalltalk, and OCaml libraries. In these bindings, the protocol skip routine fails to enforce the binding's recursion limit. As a result, a message that deeply nests unknown fields can cause a stack overflow. This issue affects Apache Thrift versions prior to 0.25.0.
Users are advised to upgrade to Apache Thrift version 0.25.0 or later, which addresses this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 2, 2026CISA-ADP
Assessed Oct 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1 | [email protected] | Mailing ListRelease NotesVendor |
| https://lists.apache.org/thread/6kl6g40tpl8zt3opd8fwn6bsgyddzhd5 | [email protected] | AdvisoryMailing ListRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-674 | Uncontrolled Recursion | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Apache Thrift | < 0.25.0 (semver) |
CPE
Remediation
| |
| Apache Thrift Python C++ accelerator | All versions |
CPE
Remediation
| |
| Apache Thrift PHP | All versions |
CPE
Remediation
| |
| Apache Thrift PHP thrift_protocol | All versions |
CPE
Remediation
| |
| Apache Thrift Perl | All versions |
CPE
Remediation
| |
| Apache Thrift Lua | All versions |
CPE
Remediation
| |
| Apache Thrift Smalltalk | All versions |
CPE
Remediation
| |
| Apache Thrift OCaml | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 2, 2026 | CVE Modified | CISA-ADP |
| Oct 2, 2026 | New CVE Received | [email protected] |
Volerion