# 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)

- Severity: High 8.7 (CVSS:4.0, scored by apache) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 31% of CVEs (2026-11-30)
- Published: 2026-10-02T12:27:31.412Z
- Modified: 2026-10-09T12:00:12.697Z
- Also known as: BIT-THRIFT-2026-66858
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- thrift: before 0.25.0
- apache/thrift: before 0.25.0
- Lua: before 0.25.0
- Smalltalk: before 0.25.0
- OCaml: before 0.25.0
- thrift (Bitnami): before 0.25.0

## Every score

- apache: 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`
- Bitnami Vulnerability Database: rating High

## References

- <https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1> (vendor-advisory, web)
- <https://lists.apache.org/thread/6kl6g40tpl8zt3opd8fwn6bsgyddzhd5> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-66858> (web)

## Sources

- CVE List: [CVE-2026-66858](https://www.cve.org/CVERecord?id=CVE-2026-66858), CVE Terms of Use, modified 2026-10-02
- NVD: [CVE-2026-66858](https://nvd.nist.gov/vuln/detail/CVE-2026-66858), Public domain, modified 2026-10-02
- Bitnami Vulnerability Database: [BIT-THRIFT-2026-66858](https://osv.dev/vulnerability/BIT-THRIFT-2026-66858), Apache-2.0, modified 2026-10-09

---

Page: https://cve.day/CVE-2026-66858 · Whole record: https://cve.day/CVE-2026-66858.json · Rebuilt by cve.day 2026-11-25T22:59:41.970Z
