# CVE-2026-43871: Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift: TCompactProtocol varint byte-count limit

- Severity: High 8.7 (CVSS:4.0, scored by apache) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-02)
- Published: 2026-07-27T10:56:15.279Z
- Modified: 2026-10-24T13:10:00.147Z
- Also known as: GHSA-8wv5-x4w7-5gww, BIT-THRIFT-2026-43871, PYSEC-2026-3926
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## Description

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.

Users are recommended to upgrade to version 0.24.0, which fixes the issue.

(As written by CVE List.)

## Affected

- thrift: before 0.24.0
- github.com/apache/thrift: before 0.24.0
- apache/thrift: before 0.24.0
- org.apache.thrift:libthrift: before 0.24.0
- thrift (PyPI): before 0.24.0
- github.com/apache/thrift (Go): before 0.24.0
- apache/thrift (Packagist): before 0.24.0
- org.apache.thrift:libthrift (Maven): before 0.24.0
- apache thrift: before 0.24.0
- thrift (Bitnami): before 0.24.0

## Every score

- apache: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:4.0 `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`
- Bitnami Vulnerability Database: rating High

## References

- <https://lists.apache.org/thread/7v3jhgwfbmhx42424phydlnzb109g8b9> (article, release-notes, vendor-advisory, web)
- <https://lists.apache.org/thread/l4dwf14zbyqsmkc28c99ojj3t3gg9qby> (advisory, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2026/07/24/33> (advisory, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-43871> (advisory, web)
- <https://github.com/apache/thrift> (package)
- <https://pypi.org/project/thrift> (package)
- <https://github.com/advisories/GHSA-8wv5-x4w7-5gww> (advisory)

## Sources

- CVE List: [CVE-2026-43871](https://www.cve.org/CVERecord?id=CVE-2026-43871), CVE Terms of Use, modified 2026-07-27
- GitHub Advisory Database: [GHSA-8wv5-x4w7-5gww](https://github.com/advisories/GHSA-8wv5-x4w7-5gww), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-43871](https://nvd.nist.gov/vuln/detail/CVE-2026-43871), Public domain, modified 2026-10-24
- PyPA Advisory Database: [PYSEC-2026-3926](https://osv.dev/vulnerability/PYSEC-2026-3926), CC-BY-4.0, modified 2026-09-10
- Bitnami Vulnerability Database: [BIT-THRIFT-2026-43871](https://osv.dev/vulnerability/BIT-THRIFT-2026-43871), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-43871 · Whole record: https://cve.day/CVE-2026-43871.json · Rebuilt by cve.day 2026-11-25T22:59:30.181Z
