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

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.3%top 76.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12thriftno fix listedDEBIAN-CVE-2026-66858
Debian:13thriftno fix listedDEBIAN-CVE-2026-66858
Debian:14thriftno fix listedDEBIAN-CVE-2026-66858
Ubuntu:22.04:LTSthriftno fix listedUBUNTU-CVE-2026-66858
Ubuntu:24.04:LTSthriftno fix listedUBUNTU-CVE-2026-66858
Ubuntu:26.04:LTSthriftno fix listedUBUNTU-CVE-2026-66858
Ubuntu:26.10thriftno fix listedUBUNTU-CVE-2026-66858

Affected products (as reported)

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