CVE-2026-66858
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)
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.7 · High · EPSS 0.3% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
apache thrift
- Versions
- ≥ 0, < 0.25.0: Affected (semver)
Update to 0.25.0
thrift Debian:12
- Versions
- 0.17.0-2
- 0.17.0-3
- 0.17.0-4
- 0.18.1-1
- 0.18.1-2
- 0.19.0-1
- 0.19.0-2
- 0.19.0-2.1
- 0.19.0-2.1~exp1
- 0.19.0-3
- 0.19.0-4
- 0.20.0-1
- 0.22.0-1
- 0.22.0-2
- 0.22.0-3
- 0.22.0-4
- 0.23.0-1
- 0.23.0-2
- 0.23.0-3
- 0.24.0-1
- 0.24.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
thrift Debian:13
- Versions
- 0.19.0-4
- 0.20.0-1
- 0.22.0-1
- 0.22.0-2
- 0.22.0-3
- 0.22.0-4
- 0.23.0-1
- 0.23.0-2
- 0.23.0-3
- 0.24.0-1
- 0.24.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
thrift Debian:14
- Versions
- 0.19.0-4
- 0.20.0-1
- 0.22.0-1
- 0.22.0-2
- 0.22.0-3
- 0.22.0-4
- 0.23.0-1
- 0.23.0-2
- 0.23.0-3
- 0.24.0-1
- 0.24.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
php-horde-thrift Ubuntu:16.04:LTS
- Versions
- 2.0.2-2
- 2.0.2-3
- 2.0.2-3build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
python-thrift Ubuntu:16.04:LTS
- Versions
- 0.9.1-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
php-horde-thrift Ubuntu:18.04:LTS
- Versions
- 2.0.2-5
- 2.0.3-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
python-thrift Ubuntu:18.04:LTS
- Versions
- 0.9.1-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
thrift Ubuntu:20.04:LTS
- Versions
- 0.11.0-6
- 0.13.0-2build1
- 0.13.0-2build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
thrift Ubuntu:22.04:LTS
- Versions
- 0.13.0-6ubuntu1
- 0.13.0-6ubuntu2
- 0.13.0-6ubuntu3
- 0.13.0-7
- 0.16.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
thrift Ubuntu:24.04:LTS
- Versions
- 0.17.0-4
- 0.19.0-2
- 0.19.0-2build1
- 0.19.0-2.1build4
- 0.19.0-2.1build5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
thrift Ubuntu:26.10
- Versions
- 0.22.0-3ubuntu1
- 0.23.0-3
- 0.23.0-3ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
thrift Ubuntu:26.04:LTS
- Versions
- 0.19.0-4build1
- 0.22.0-3
- 0.22.0-3ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published