Vulnerability · Published Oct 2, 2026 · Assigned by apache
CVE-2026-66858Apache 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)
High 8.7
In plain English
A high-severity security flaw in Apache Thrift from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities).
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | thrift | no fix listed | DEBIAN-CVE-2026-66858 |
| Debian:13 | thrift | no fix listed | DEBIAN-CVE-2026-66858 |
| Debian:14 | thrift | no fix listed | DEBIAN-CVE-2026-66858 |
| Ubuntu:22.04:LTS | thrift | no fix listed | UBUNTU-CVE-2026-66858 |
| Ubuntu:24.04:LTS | thrift | no fix listed | UBUNTU-CVE-2026-66858 |
| Ubuntu:26.04:LTS | thrift | no fix listed | UBUNTU-CVE-2026-66858 |
| Ubuntu:26.10 | thrift | no fix listed | UBUNTU-CVE-2026-66858 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Thrift | 0 – before 0.25.0 |
| Apache Software Foundation | Apache Thrift | 0 – before 0.25.0 |
| Apache Software Foundation | Apache Thrift | 0 – before 0.25.0 |
| Apache Software Foundation | Apache Thrift | 0 – before 0.25.0 |
| Apache Software Foundation | Apache Thrift | 0 – before 0.25.0 |
| Apache Software Foundation | Apache Thrift | 0 – before 0.25.0 |
Weakness: CWE-674 · Vector: 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
References
- https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1 vendor-advisory
- https://lists.apache.org/thread/6kl6g40tpl8zt3opd8fwn6bsgyddzhd5 vendor-advisory