Skip to content
VulniPulse
High 2 vendors · 2 advisories

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
Vendor advisories
2 from Apache, Red Hat
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

Timeline

  1. CVE record published
  2. First vendor advisory listed by VulniPulse
  3. CVE record last updated

All Apache advisories

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.

Alert me about Apache