CVE-2026-66858
published high CVSS 4.0 · 8.7Apache 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)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | thriftApache Thrift · 0 to < 0.25.0 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | apache/thriftApache Thrift · 0 to < 0.25.0 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | ThriftApache Thrift · 0 to < 0.25.0 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | LuaApache Thrift · 0 to < 0.25.0 · Other versions: unaffected | Affected | Not stated | apache |
| Alpine Linux | edge | thrift | Fixed | 0.25.0-r0 | Package fix record |
| Apache Software Foundation | — | SmalltalkApache Thrift · 0 to < 0.25.0 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | OCamlApache Thrift · 0 to < 0.25.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- apache · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Thrift | 0 to < 0.25.0 (affected · semver)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache Thrift | 0 to < 0.25.0 (affected · semver)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache Thrift | 0 to < 0.25.0 (affected · semver)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache Thrift | 0 to < 0.25.0 (affected · semver)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache Thrift | 0 to < 0.25.0 (affected · semver)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache Thrift | 0 to < 0.25.0 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-674 CWE-674 Uncontrolled Recursion
References
2Provider assertions
2apache · cna
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)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 76b781d2a9667abebfc9b8b90ec340ea27aaf0e2598c6e64a9ccfe90f9376003
- Ingested
- 02 Oct 2026, 19:09:27 UTC
- Source record
- Official CVE record