CVE-2026-66858
8.7high
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)
- Severity
- 8.7high CVSS:4.0 by apache
- Exploit likelihood
- 0.45% (higher than 31% of CVEs)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- BIT-THRIFT-2026-66858
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
| Product or package | Versions | Reported by |
|---|---|---|
| thrift | before 0.25.0 | CVE List |
| apache/thrift | before 0.25.0 | CVE List |
| Lua | before 0.25.0 | CVE List |
| Smalltalk | before 0.25.0 | CVE List |
| OCaml | before 0.25.0 | CVE List |
| thrift (Bitnami) | before 0.25.0 | Bitnami Vulnerability Database |
All scores
| apache | 8.7high CVSS:4.0 | 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 |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-66858 changed 2026-10-02 | CVE Terms of Use |
| NVD | CVE-2026-66858 changed 2026-10-02 | Public domain |
| Bitnami Vulnerability Database | BIT-THRIFT-2026-66858 changed 2026-10-09 | Apache-2.0 |