{"id":"CVE-2026-43871","aliases":["CVE-2026-43871","GHSA-8wv5-x4w7-5gww","BIT-THRIFT-2026-43871","PYSEC-2026-3926"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift: TCompactProtocol varint byte-count limit","summary":"Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in Apache Thrift Python, Go, PHP and Java bindings.This issue affects Apache Thrift: before 0.24.0.\n\nUsers are recommended to upgrade to version 0.24.0, which fixes the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in Apache Thrift Python, Go, PHP and Java bindings.This issue affects Apache Thrift: before 0.24.0.\n\nUsers are recommended to upgrade to version 0.24.0, which fixes the issue.","source":"cvelist"},{"lang":"es","text":"Vulnerabilidad de ’Bucle con condición de salida inalcanzable’ (’Bucle infinito’) en los enlaces de Apache Thrift para Python, Go, PHP y Java. Este problema afecta a Apache Thrift: antes de la versión 0.24.0.\n\nSe recomienda a los usuarios actualizar a la versión 0.24.0, que corrige el problema.","source":"nvd"}],"published":"2026-07-27T10:56:15.279Z","modified":"2026-10-24T13:10:00.147Z","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":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","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"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-835"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.24.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Thrift","package":"thrift","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"0.24.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Thrift","package":"github.com/apache/thrift","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"0.24.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Thrift","package":"apache/thrift","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"0.24.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Thrift","package":"org.apache.thrift:libthrift","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.24.0"}],"ecosystem":"PyPI","package":"thrift","purl":"pkg:pypi/thrift","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.24.0"}],"ecosystem":"Go","package":"github.com/apache/thrift","purl":"pkg:golang/github.com/apache/thrift","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.24.0"}],"ecosystem":"Packagist","package":"apache/thrift","purl":"pkg:composer/apache/thrift","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.24.0"}],"ecosystem":"Maven","package":"org.apache.thrift:libthrift","purl":"pkg:maven/org.apache.thrift/libthrift","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.24.0"}],"vendor":"apache","product":"thrift","cpe":"cpe:2.3:a:apache:thrift:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.24.0"}],"ecosystem":"PyPI","package":"thrift","purl":"pkg:pypi/thrift","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.24.0"}],"ecosystem":"Bitnami","package":"thrift","purl":"pkg:bitnami/thrift","source":"bitnami"}],"references":[{"url":"https://lists.apache.org/thread/7v3jhgwfbmhx42424phydlnzb109g8b9","tags":["article","release-notes","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://lists.apache.org/thread/l4dwf14zbyqsmkc28c99ojj3t3gg9qby","tags":["advisory","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/24/33","tags":["advisory","mailing-list","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43871","tags":["advisory","web"],"sources":["ghsa","pysec","bitnami"]},{"url":"https://github.com/apache/thrift","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/thrift","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-8wv5-x4w7-5gww","tags":["advisory"],"sources":["pysec"]}],"credits":["Yu Bao - yubao@paypal.com, who works for paypal.com"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-07-27T13:01:27.166Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43871","url":"https://www.cve.org/CVERecord?id=CVE-2026-43871","licence":"CVE Terms of Use","modified":"2026-07-27T13:01:39.993Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8wv5-x4w7-5gww","url":"https://github.com/advisories/GHSA-8wv5-x4w7-5gww","licence":"CC-BY-4.0","modified":"2026-09-10T12:25:42.392Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43871","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43871","licence":"Public domain","modified":"2026-10-24T13:10:00.147Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3926","url":"https://osv.dev/vulnerability/PYSEC-2026-3926","licence":"CC-BY-4.0","modified":"2026-09-10T12:25:42.392Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-THRIFT-2026-43871","url":"https://osv.dev/vulnerability/BIT-THRIFT-2026-43871","licence":"Apache-2.0","modified":"2026-09-10T12:25:42.392Z"}],"updatedAt":"2026-11-25T22:59:30.181Z","epss":{"score":0.00607,"percentile":0.50443,"date":"2026-12-02T12:00:21.000Z"}}