CVE-2026-66858
JSON

8.7high

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)

Severity
8.7high CVSS:4.0 by apache
Exploit likelihood
0.45% (higher than 31% of CVEs)
Published
Last changed
Assigned by
apache
Also known as
BIT-THRIFT-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.

Affected

Product or packageVersionsReported by
thriftbefore 0.25.0CVE List
apache/thriftbefore 0.25.0CVE List
Luabefore 0.25.0CVE List
Smalltalkbefore 0.25.0CVE List
OCamlbefore 0.25.0CVE List
thrift (Bitnami)before 0.25.0Bitnami Vulnerability Database

All scores

apache8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-674

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-66858 changed 2026-10-02CVE Terms of Use
NVDCVE-2026-66858 changed 2026-10-02Public domain
Bitnami Vulnerability DatabaseBIT-THRIFT-2026-66858 changed 2026-10-09Apache-2.0