# 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 is fixed in thrift on 1 platform, first by DEBIAN-CVE-2026-66858, released October 2, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-66858
- Priority: High
- CVSS: n/a (Important)
- EPSS: 0.0045
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 2, 2026
- Weakness: Uncontrolled Recursion
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-66858

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | thrift Azure Linux 3.0 | 0.25.0-1 | [thrift 0.25.0-1](https://patchblox.com/security/data/fix/linux/azurelinux-3.0-thrift-0.25.0-1.md) | Oct 7, 2026 |
| Linux | thrift Debian 14 | 0.25.0-2 | [DEBIAN-CVE-2026-66858](https://patchblox.com/security/data/fix/linux/debian-cve-2026-66858.md) | Oct 2, 2026 |

---

Data as of 2026-11-29T21:28:38Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
