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)
CVE-2026-66858 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- High
- CVSS base score
- 8.7 (Apache), 7.5 (Red Hat)
- CVSS 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· base score 8.7, scored by apacheAttack vector: network. Attack complexity: low. Attack requirements: none. Privileges required: none. User interaction: none. Confidentiality impact on the vulnerable system: none. Integrity impact on the vulnerable system: none. Availability impact on the vulnerable system: high. Confidentiality impact on subsequent systems: none. Integrity impact on subsequent systems: none. Availability impact on subsequent systems: none.- Weakness
- CWE-674 Uncontrolled Recursion
- EPSS
- 0.31% chance of exploitation in the next 30 days (23rd percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: yes. Technical impact: partial. CISA, .
- Fixed releases
- Apache: 0.25.0
- Red Hat: 0.25.0, thrift-main-0.25.0-0.1.hum1, RHSA-2026:74369
- Assigned by
- apache (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-66858; each belongs to its advisory, not to every product listed. How records are collected and checked.
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.
Text from the CVE.org record (apache).
How do I fix CVE-2026-66858?
Upgrade to a fixed release named by the vendor:
- Apache: 0.25.0
- Red Hat: 0.25.0, thrift-main-0.25.0-0.1.hum1, RHSA-2026:74369
- 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. (Apache)
- Users are recommended to upgrade to version 0.25.0, which fixes the issue. (Apache)
- Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. (Red Hat)
Vendor advisories for CVE-2026-66858
Apache
1 advisory- Advisory severityHigh8.7
High [CVE-2026-66858] 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
CVE-2026-66858Source published Source updated
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 products in this advisory
- Apache Thrift
- Source-reported affected versions
- Apache Thrift before 0.25.0
- Source-reported fixed versions
- 0.25.0
- Mitigation guidance
- 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.
- Users are recommended to upgrade to version 0.25.0, which fixes the issue.
Red Hat
1 advisory- Advisory severityHigh7.5
High [CVE-2026-66858] Denial of Service via deeply nested unknown fields
CVE-2026-66858Source published Source updated
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. Multiple language bindings fail to enforce recursion limits when processing skipped fields in incoming messages. A remote, unauthenticated attacker can exploit this vulnerability by sending a message containing deeply nested unknown fields, leading to stack exhaustion and causing a Denial of Service (DoS)…
- Affected products in this advisory
- Red Hat Hardened Images
- Red Hat Ceph Storage 7
- Red Hat Ceph Storage 8
- Red Hat Ceph Storage 9
1 more entries in the full advisory.
- Source-reported affected versions
- < 0.25.0
- Source-reported fixed versions
- 0.25.0
- thrift-main-0.25.0-0.1.hum1
- RHSA-2026:74369
- Mitigation guidance
- Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
References
- CVE-2026-66858 recordCVE.org
- CVE-2026-66858 detailNVD
- lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1vendor-advisory
- lists.apache.org/thread/6kl6g40tpl8zt3opd8fwn6bsgyddzhd5vendor-advisory
Timeline
- CVE record published
- First vendor advisory listed by VulniPulse
- CVE record last updated
More Apache advisories
CVE-2026-63772Oct 2, 2026Allocation of Resources Without Limits or Throttling vulnerability in Apache Thrift goCVE-2026-66055Oct 2, 2026Allocation of Resources Without Limits or Throttling vulnerability in Apache Thrift C++CVE-2026-66081Oct 2, 2026Access of Uninitialized Pointer vulnerability in Apache Thrift c_glib bindingsCVE-2026-66837Oct 2, 2026Stack-based Buffer Overflow, Integer Overflow or Wraparound vulnerability in Apache ThriftCVE-2026-66859Oct 2, 2026NULL Pointer Dereference, Use of Uninitialized Variable vulnerability in Apache ThriftCVE-2026-83632Oct 2, 2026Apache Thrift buffer overflow
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.