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

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-07-27 · Modified: 2026-07-27
- Aliases: GHSA-8wv5-x4w7-5gww, BIT-thrift-2026-43871, PYSEC-2026-3926, UBUNTU-CVE-2026-43871, DEBIAN-CVE-2026-43871, CGA-226w-jqjq-fwfc, CGA-23f9-mvcq-xmg9, CGA-257f-g6fr-ccm8, CGA-2hwp-x8gj-8xfg, CGA-2r7j-jqq2-92fw, CGA-2wxp-4356-mq5c, CGA-38gx-fm5w-gcgv, CGA-3gfr-56jw-7q22, CGA-3q74-g2qf-hg9c, CGA-3xg8-qg5c-fvw3, CGA-3xv7-3q47-xrqr, CGA-4895-wm65-xwcw, CGA-4gvc-p8f2-qv4q, CGA-4jhp-3mcv-p669, CGA-5c77-7p9p-whfr, CGA-5fjp-mhp3-99x7, CGA-5jjf-wcjc-qxqv, CGA-5q59-8qcv-jgqv, CGA-623p-p6fh-pqwx, CGA-63hm-cr3v-rpgp, CGA-65g6-mc9f-w2r4, CGA-7258-fmcq-cvpf, CGA-774p-7fjf-mq9f, CGA-79h7-xv8h-3qmj, CGA-7q74-fch2-36wm, CGA-83wp-wxp5-g357, CGA-842g-fghm-vmvq, CGA-888g-96jj-6j9c, CGA-8hh3-fm4x-c2x6, CGA-8jc9-6v6c-887h, CGA-8r92-9hhq-j767, CGA-8vg3-wx6r-qx5h, CGA-8vj4-5ffr-x75j, CGA-8wcw-h9p8-jghh, CGA-8wjm-wgq9-m663, CGA-954m-93p3-5qxf, CGA-95h9-37h8-73mg, CGA-9qv6-hphm-9668, CGA-9v5g-q5xf-hx37, CGA-c3qh-p8qf-83jr, CGA-c3rw-mx27-493f, CGA-cfhq-wg8r-gfwc, CGA-cp7r-6q8x-4xwq, CGA-f9fw-h4h3-f7j8, CGA-fgg5-cmhg-j3p5, CGA-fh86-ggx8-8ghg, CGA-g29v-f8r6-rc82, CGA-g5q4-5qwv-55h3, CGA-g8h7-c2r8-64qf, CGA-gh75-3x6h-48gg, CGA-gq69-h6xf-9g7w, CGA-gqw2-rjm2-h27r, CGA-grhc-rhx5-x3v5, CGA-grhh-w323-3w2f, CGA-gv9q-v5q6-hgrf, CGA-h2x9-8x45-mx7w, CGA-hwp7-9jhp-j4vg, CGA-hx69-q36r-5834, CGA-jc87-3725-jfcq, CGA-jgfr-466g-3qg9, CGA-jgph-xqrh-fgp3, CGA-jh3w-2gvg-pcwm, CGA-jppc-gjfq-fqpf, CGA-m5j5-v4pv-33wc, CGA-m7rj-8f6p-xmw5, CGA-mmhg-74mh-qrqj, CGA-mwwx-9c7w-45c7, CGA-p9gh-f4gv-54gw, CGA-pc3f-p3xh-3rvw, CGA-pp53-h8q2-2p7m, CGA-prr6-g63g-hh2w, CGA-qjxv-9p8m-7293, CGA-qvr5-5q84-wc2c, CGA-qxpx-8244-f6q7, CGA-r27c-rv7h-w8mf, CGA-r58r-56jc-m6p6, CGA-rpwq-4h5v-h5mq, CGA-v226-p2xh-37rf, CGA-v5hv-pg5v-g67w, CGA-wf9m-83fc-mcv8, CGA-wr26-xm7h-mhx5, CGA-x333-h75w-3jp4, CGA-xm4j-rqhm-pg6f, CGA-xv7p-ffj6-mqvj, CGA-xv87-8r46-jvwr, CGA-22qc-j2jx-c5pr, CGA-22xr-22w9-rcwx, CGA-252c-rx5f-xwj6, CGA-27r3-jmm7-hhwf, CGA-29rw-6f27-5w2x, CGA-2cqf-m24r-h4mm, CGA-2fc8-4h4c-c2gg, CGA-2p7h-cwhf-vx4g, CGA-2p7v-579c-3hpr, CGA-2php-xfr5-32x4, CGA-2qg5-r379-7h86, CGA-2v84-w7r5-5hmr, CGA-2w4p-5j3v-mf9m, CGA-2xcj-66p9-jhq6, CGA-2xhh-83m6-97q3, CGA-32gh-8x5x-rww8, CGA-3423-pmf4-j5v8, CGA-34x2-gmhp-v5r3, CGA-3627-cg4v-9px7, CGA-388g-35mv-3j39, CGA-3fx2-9w25-78h2, CGA-3gmv-2m4w-63g7, CGA-3mr4-9fhc-2rf8, CGA-3ph6-9vxj-9whg, CGA-3rwp-v2vf-p449, CGA-3xrj-65c5-9g98, CGA-42gp-cf7w-673h, CGA-442r-7f94-2c2c, CGA-45pm-jjq3-m83f, CGA-46c3-xr7x-4f43, CGA-46fp-x5g3-w7c7, CGA-479j-h7v8-v2qp, CGA-47gm-98hm-3r4c, CGA-48gc-hjvw-v56j, CGA-4cq8-gv9f-j8rp, CGA-4crh-wm7v-4366, CGA-4fq6-9q69-prw5, CGA-4j3c-2238-7jhc, CGA-4m2p-f67q-wcfv, CGA-4p9f-q9c4-v7w4, CGA-4r2v-93pc-9wv6, CGA-536f-53c6-gq5c, CGA-53hq-qvwv-gwpp, CGA-5676-x66m-g7mj, CGA-57wq-35h4-gqqp, CGA-5c3p-rrp7-x862, CGA-5g4q-fg8m-95h8, CGA-5gc3-mqch-w7hj, CGA-5hh9-hxp3-956p, CGA-5hvm-qm53-8vr2, CGA-5pq5-rxgh-4gc3, CGA-5v2h-5cfp-2fj8, CGA-5vpg-c4fj-4fw6, CGA-5wpg-r887-h26x, CGA-5x2p-3q62-399c, CGA-5x7m-wwwp-8v23, CGA-628v-g596-wg9c, CGA-6394-7pjg-h3v5, CGA-66rv-m44h-5pm8, CGA-69fm-vc7m-88f9, CGA-69pw-mrmm-cq88, CGA-6c3h-6823-m8cc, CGA-6cvv-4673-26g3, CGA-6hxr-f664-jvv9, CGA-6qr3-98q6-5vj9, CGA-6rq7-4qgg-h5vv, CGA-6v33-94cx-5ggr, CGA-6wcv-r32v-cpm2, CGA-6whp-52c7-ghvm, CGA-728x-47cc-348p, CGA-72v9-r472-85wr, CGA-74fr-48rr-rr8r, CGA-74gp-rg33-2fw8, CGA-75vj-f8c7-9xf6, CGA-76wg-4q9p-p6x5, CGA-7c27-7qvw-hvrg, CGA-7cjg-x7ch-hmh4, CGA-7f3g-m532-8xrm, CGA-7gq4-h37r-7838, CGA-7mp2-jp64-8r6h, CGA-7phq-f7g7-f46w, CGA-7r47-53wf-w3hm, CGA-7rqv-3f9h-7mrg, CGA-7w6f-4pfr-2349, CGA-836g-pv69-2wrr, CGA-84fm-83fm-65wx, CGA-84hj-qvhw-r835, CGA-86h5-vrc6-wf98, CGA-87q2-c6fp-649g, CGA-8982-26q3-9jpj, CGA-8q4m-w25j-wmmc, CGA-8wqv-76j5-gq98, CGA-922x-4cwh-cq88, CGA-9243-8388-7fq3, CGA-9267-hc83-9wp9, CGA-92v4-gvrv-h7gg, CGA-9475-2rr6-hh8x, CGA-94pj-5gw8-fvw8, CGA-954x-5h89-cfh9, CGA-9695-9f7m-c23q, CGA-96vm-q9jv-6rm6, CGA-979q-9978-jxh2, CGA-9963-qvf3-cvcx, CGA-9c9v-9qh6-gv22, CGA-9cpv-9r76-2qmf, CGA-9gfr-6hjf-fw4p, CGA-9h8m-2798-4572, CGA-9hfx-8567-773v, CGA-9j7q-235x-9j6r, CGA-9vf4-mx2c-rqj7, CGA-9vm5-mv87-v768, CGA-9wq5-p54m-3gv7, CGA-9xmj-24m3-xv7x, CGA-9xw7-cqc3-2jhm, CGA-c466-73g5-j3m7, CGA-c73q-xgh6-h955, CGA-c99j-v5vq-47w9, CGA-cc77-m232-jq65, CGA-cgrf-j2c9-39mc, CGA-ch2r-46q2-vwmq, CGA-cp9v-mf63-gc4g, CGA-cqrg-cv3f-g72v, CGA-cxfw-m64p-fx82, CGA-f489-f7hh-hrjw, CGA-f624-4r8v-8pvq, CGA-f8xf-8gfm-c4fc, CGA-f9jr-32g2-gwqf, CGA-fc3x-c273-7pwg, CGA-fgvq-6jx3-m72c, CGA-fpjr-3c9c-427h, CGA-fq3r-vcq6-4w6f, CGA-fqpg-xgjr-xwxp, CGA-fqv2-8ffj-frjr, CGA-fv6w-2wx5-v23h, CGA-fwp8-72gj-rm4p, CGA-g32r-2gjg-f97j, CGA-g384-mmm4-w9p6, CGA-g54g-7gf5-q664, CGA-g5cj-r2cc-j4j7, CGA-g668-7g2p-65x5, CGA-g8g9-9h5c-6gx9, CGA-g952-39fc-mjf3, CGA-gfvf-5pjh-7wfm, CGA-ggx8-ccwg-rphg, CGA-gh3x-f537-4m9h, CGA-gh56-8hmr-m48x, CGA-ghjw-xq9m-pwx4, CGA-gj6w-4r9j-w4xw, CGA-gjwg-q7xf-4268, CGA-gmjm-mm8m-6hrc, CGA-gpq3-px8q-hx5v, CGA-gpxp-rjxw-hmfh, CGA-gq79-8rh7-h374, CGA-grjx-7w3q-frvg, CGA-gv8q-23gh-pj8c, CGA-h24p-c3cv-ph62, CGA-h4g6-w4m2-rm49, CGA-h53v-gqj4-9m82, CGA-h654-95wv-3659, CGA-h95f-gj8x-8ch5, CGA-hc6w-5crj-v2g7, CGA-hf5f-5cjg-q654, CGA-hjvp-57pv-q2f8, CGA-hp5x-x6mv-q72j, CGA-hqc8-278m-pxch, CGA-hxv5-q473-f6xh, CGA-j2xq-3ph9-g6qp, CGA-j34q-jfwh-6pqx, CGA-j37m-fxpj-8772, CGA-j4vm-gwgc-wj5v, CGA-j6j5-w5rh-g832, CGA-j823-v9jg-jr53, CGA-jhp2-v395-f4rm, CGA-jmrw-475w-3rf4, CGA-jqrv-474j-5c32, CGA-jr74-jqg9-2gp5, CGA-jrh8-p7h4-6fq6, CGA-jrm7-jh49-cxx4, CGA-jv28-9wqh-v3rv, CGA-jx34-93hx-w2pr, CGA-jxhx-hghv-w5hh, CGA-m2j9-794r-7722, CGA-m3vw-wq5j-6q9j, CGA-m5jr-qg7p-crc3, CGA-m9g9-c5f9-6xhx, CGA-mh9p-5xgr-p753, CGA-mpqg-c6qc-8wrh, CGA-mq58-98g3-qq6f, CGA-mq77-9gr9-pc4w, CGA-mq94-g5q8-c4x6, CGA-mqr6-2jp7-hwrc, CGA-mv8w-m3rw-v278, CGA-mvjq-xf99-g55w, CGA-mwcf-fm89-vrv5, CGA-mwrc-mr83-9xx6, CGA-mxg7-x3v3-mpqw, CGA-p4p3-pmjx-qv96, CGA-p5hc-h92v-9758, CGA-pp5c-59px-wv7x, CGA-ppx7-5hc6-6jw7, CGA-pqf9-hrjx-8hgg, CGA-prrw-4hrv-gj64, CGA-pv2f-fj56-rqj8, CGA-pv5j-x52q-fm5p, CGA-px5q-vj79-j765, CGA-q23h-2wf3-rqhg, CGA-q3f3-g3qg-x8rw, CGA-q48v-8265-r7mv, CGA-q53f-cxc8-8qwx, CGA-q6xj-xv78-jm35, CGA-qc5q-vf9m-pv47, CGA-qcqw-6gm2-qfh3, CGA-qf3j-5pwv-rjch, CGA-qfc9-7c76-r7r8, CGA-qh4f-38mq-vqf7, CGA-qh97-wgc5-6xwg, CGA-qpj6-88vp-wh8j, CGA-qqg4-rfgj-m2m9, CGA-qwc8-9ph2-4rr2, CGA-r4gq-q2h9-qxx2, CGA-r672-jfg3-wjhj, CGA-r738-rf57-jrqm, CGA-r7r8-4j8h-994h, CGA-rg98-3xx7-p2vc, CGA-rgw8-jcp2-6hrr, CGA-rqqf-394m-wphx, CGA-rrrh-g646-w5j5, CGA-rrx9-8h72-r3ww, CGA-rv6r-c8gx-xpvx, CGA-rx3f-h4jg-j298, CGA-v2r9-4627-8fm8, CGA-v3c4-pq4p-6xj3, CGA-v479-m765-43ff, CGA-v5r2-3qq6-662p, CGA-v6fh-g3q9-w96j, CGA-vc9j-8vrf-8c98, CGA-vchw-355r-pjjg, CGA-vfrf-25c6-wh5p, CGA-vj3c-928x-r8j7, CGA-vqrh-865x-878w, CGA-vvmr-8q5c-9948, CGA-vw6j-5jvv-wg9w, CGA-w32x-p3wr-m6pm, CGA-w8cm-m2xm-c9rx, CGA-w8xf-89cx-hmfv, CGA-wf9j-77q5-w5g3, CGA-wg4v-h82j-8mhx, CGA-whh3-9rw3-7qfv, CGA-wmx2-wp67-5fx4, CGA-wpr3-43wm-px6c, CGA-ww55-vg39-5xqg, CGA-x44q-7253-c3rq, CGA-xfpf-m22c-vw2p, CGA-xgvq-7wqc-99hw, CGA-xj5r-734j-qrp2, CGA-xp5x-84fq-m592, CGA-xq4q-p4px-p679, CGA-xx8r-v5jc-pmfp, CGA-cwx9-ghwj-mwqq, CGA-jxj5-r4c3-536x, CGA-fqv9-rc6c-8x5h, CGA-rwcp-v9w3-h4v4, CGA-4wjj-qf24-p8rj, CGA-239p-h279-hjc3, CGA-wcq4-6wwv-c5rv, CGA-58f3-7x85-5fcw, CGA-j32v-3p99-mgpq, CGA-48fj-77rp-r5gx, CGA-66w7-pjhx-pfc2, CGA-wc9j-4c8f-cfpm, CGA-84g8-628f-x5c2, CGA-8pfp-phgw-wjvw, CGA-g3cv-97rc-37hc, CGA-g3mq-vf47-r7p7, CGA-xq25-87c7-fqhg, CGA-6wvq-m4c8-9rw5, CGA-fcgj-qw7x-pcj4, ALPINE-CVE-2026-43871
- Record: https://cvemate.com/vulnerability/CVE-2026-43871 · JSON: https://cvemate.com/vulnerability/CVE-2026-43871/json

## Description

```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.

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

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) 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
- EPSS: 0.607%, percentile 50.507%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 227)

- apache software foundation apache thrift: \< 0.24.0
- apache thrift: \< 0.24.0
- alpine thrift (Alpine Linux): \< 0.24.0-r0
- chainguard agentbeat (Chainguard): \< 9.2.7-r27
- chainguard agentbeat-fips (Chainguard): \< 9.2.7-r25
- chainguard amazon-cloudwatch-agent (Chainguard): \< 1.300073.0-r1 \| \< 1.300072.0-r6
- chainguard amazon-cloudwatch-agent-fips (Chainguard): \< 1.300072.0-r5
- chainguard apm-server-8.19 (Chainguard): \< 8.19.21-r2
- chainguard apm-server-fips-8.19 (Chainguard): \< 8.19.21-r1
- chainguard automq (Chainguard): All versions (No fix recorded) \| \< 1.7.4-r1
- chainguard automq-fips (Chainguard): All versions (No fix recorded) \| \< 1.7.4-r1
- chainguard bento (Chainguard): \< 1.21.1-r3
- chainguard bento-fips (Chainguard): \< 1.21.1-r6
- chainguard cadence (Chainguard): \< 1.4.1-r11
- chainguard cadence-cassandra-tool (Chainguard): \< 1.4.1-r11
- chainguard cadence-fips (Chainguard): \< 1.4.1-r11
- chainguard cadence-fips-cassandra-tool (Chainguard): \< 1.4.1-r11
- chainguard cadence-fips-server (Chainguard): \< 1.4.1-r11
- chainguard cadence-fips-sql-tool (Chainguard): \< 1.4.1-r11
- chainguard cadence-server (Chainguard): \< 1.4.1-r11

## References

- <https://lists.apache.org/thread/7v3jhgwfbmhx42424phydlnzb109g8b9>
- <https://lists.apache.org/thread/l4dwf14zbyqsmkc28c99ojj3t3gg9qby>
- <http://www.openwall.com/lists/oss-security/2026/07/24/33>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-43871>
- <https://github.com/apache/thrift>
- <https://pypi.org/project/thrift>
- <https://github.com/advisories/GHSA-8wv5-x4w7-5gww>
- <https://ubuntu.com/security/CVE-2026-43871>
- <https://www.cve.org/CVERecord?id=CVE-2026-43871>
- <https://security-tracker.debian.org/tracker/CVE-2026-43871>
- <https://packagist.org>
- <https://proxy.golang.org>
- <https://pypi.python.org>
- <https://repo.maven.apache.org/maven2>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43871.json>
- <https://security.alpinelinux.org/vuln/CVE-2026-43871>

---

Data as of 2026-12-05T03:32:21.471Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
