{"id":"CVE-2026-66858","aliases":["CVE-2026-66858","BIT-THRIFT-2026-66858"],"related":[],"kind":"vulnerability","state":"published","title":"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)","summary":"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.\n\n\n\nThis issue affects Apache Thrift: before 0.25.0.\n\n\n\nUsers are recommended to upgrade to version 0.25.0, which fixes the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\n\n\nThis issue affects Apache Thrift: before 0.25.0.\n\n\n\nUsers are recommended to upgrade to version 0.25.0, which fixes the issue.","source":"cvelist"}],"published":"2026-10-02T12:27:31.412Z","modified":"2026-10-09T12:00:12.697Z","severity":{"scorer":"apache","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"apache","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.25.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Thrift","package":"thrift","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"0.25.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Thrift","package":"apache/thrift","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"0.25.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Thrift","package":"Thrift","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"0.25.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Thrift","package":"Lua","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"0.25.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Thrift","package":"Smalltalk","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"0.25.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Thrift","package":"OCaml","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.25.0"}],"ecosystem":"Bitnami","package":"thrift","purl":"pkg:bitnami/thrift","source":"bitnami"}],"references":[{"url":"https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1","tags":["vendor-advisory","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.apache.org/thread/6kl6g40tpl8zt3opd8fwn6bsgyddzhd5","tags":["vendor-advisory","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66858","tags":["web"],"sources":["bitnami"]}],"credits":["Claude (Anthropic Research)","Arthur Chan, Ada Logics","Apache Thrift Developers"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-02T16:53:58.894Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-66858","url":"https://www.cve.org/CVERecord?id=CVE-2026-66858","licence":"CVE Terms of Use","modified":"2026-10-02T16:54:25.933Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-66858","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66858","licence":"Public domain","modified":"2026-10-02T17:17:07.357Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-THRIFT-2026-66858","url":"https://osv.dev/vulnerability/BIT-THRIFT-2026-66858","licence":"Apache-2.0","modified":"2026-10-09T12:00:12.697Z"}],"updatedAt":"2026-11-25T22:59:41.970Z","epss":{"score":0.00445,"percentile":0.30553,"date":"2026-11-30T12:00:22.000Z"}}