# CVE-2021-36373: Apache Ant TAR archive denial of service vulnerability

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-07-14 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2021-36373, DEBIAN-CVE-2021-36373, CGA-22pf-q2hm-x87p, CGA-22rq-9f6v-46f5, CGA-23qr-w3q5-j56v, CGA-2522-p689-6vr8, CGA-28j5-7xx4-6f9f, CGA-292m-25wp-wc9f, CGA-2j86-4v93-rqrg, CGA-2vfg-vhcg-w2mw, CGA-3966-cqm2-3hh7, CGA-396m-p524-qvrg, CGA-39ph-rw6v-g3jv, CGA-3pmq-j8g5-mj4p, CGA-3pvv-xpvr-2m7v, CGA-3qm3-pr4q-hjv8, CGA-3v55-mm5w-j5c4, CGA-3x22-rjqq-gggc, CGA-438h-2xq6-xxwj, CGA-43xx-hg3h-fwq4, CGA-4449-rjwj-wg97, CGA-44jh-5979-r4hf, CGA-44vq-6frc-jv55, CGA-452v-rxg6-q9c8, CGA-482v-c55v-v9xp, CGA-49cp-g98p-6fww, CGA-4h34-q9g4-j85g, CGA-4hxf-74f9-2gmm, CGA-4mcj-g24j-x37h, CGA-4pxr-m2m8-v8p9, CGA-5232-qxmr-rwjg, CGA-56fc-v8m8-q83h, CGA-572w-m9rg-x9cq, CGA-57mx-26gw-c5j7, CGA-5937-2j22-rqvc, CGA-5c5q-4pxr-5hmm, CGA-5m98-h47x-7gqm, CGA-5qm4-wmc7-cjhg, CGA-632r-v5m3-66pm, CGA-65h8-924m-ggfr, CGA-67fw-2h4c-xpqv, CGA-6852-2gpp-cf2c, CGA-6cq7-933r-22r5, CGA-6hx3-3p2f-83xx, CGA-7465-8rpm-x4cr, CGA-747v-hhjh-95xm, CGA-74mh-2x63-85wx, CGA-763r-2mwj-4wgc, CGA-7729-9335-5345, CGA-77w8-4qfj-mff2, CGA-77wh-xxxx-fpx9, CGA-7927-7px4-g9q7, CGA-79rq-gv2p-6prw, CGA-7cwr-cgxp-j2vc, CGA-7f6f-f55q-xhhw, CGA-7g78-4q98-j5fm, CGA-7pcg-v4fm-9532, CGA-7pmr-6v67-xr4g, CGA-7qv7-2pg6-8fjh, CGA-7v3c-rcww-wwvp, CGA-7vmh-whcr-wrw5, CGA-7wmj-w3pq-j35w, CGA-7xgx-48r7-47f4, CGA-82cr-p84p-jrq2, CGA-85gw-3qm9-q7hc, CGA-85qc-5xv4-xv8g, CGA-89jm-j5xj-f8mq, CGA-89m5-3v28-2qj7, CGA-8gc2-5j2m-h7hq, CGA-8gf4-cj9x-6xmq, CGA-8qf6-j89j-8w4j, CGA-8w24-ch3r-r98j, CGA-8xcm-8pf2-wxr5, CGA-922v-g35c-3xqr, CGA-93jc-j37j-2g5p, CGA-9hx4-63q3-p8mq, CGA-9j4c-3c69-659w, CGA-9xg7-4g8w-q86w, CGA-c2f4-fffm-f6r9, CGA-c32j-c52p-9mvg, CGA-c38p-7vh5-2v4m, CGA-c43h-94h4-gp3h, CGA-c72q-2jxq-55cx, CGA-cf9q-r4f6-763r, CGA-cf9w-4552-5xpg, CGA-chcw-252h-6f3f, CGA-chv8-3mf2-p739, CGA-cpw7-5mhj-qvpr, CGA-cq5f-5vf3-9rfv, CGA-cqcr-j834-gwj2, CGA-cwg8-35xp-3vm5, CGA-cwgq-xf8m-7qcc, CGA-cxmv-95wx-chgf, CGA-f8rq-47jq-4w9m, CGA-fcjr-3hf3-m82v, CGA-fmgm-cpx4-f79h, CGA-fqg9-76w9-qxm7, CGA-fwqp-7436-w962, CGA-fwvm-h66h-9f57, CGA-g2w7-w7v3-prp3, CGA-g4fr-jjrv-g6h4, CGA-g4vq-52f3-gfgg, CGA-g5c6-3pmg-j32v, CGA-g67x-gp3j-87pv, CGA-g92x-229r-qgfg, CGA-gmv9-qhxg-gqxh, CGA-gp2j-j853-mcjr, CGA-gqxr-r56f-mh28, CGA-gr37-79v4-2w8j, CGA-gv5r-7q27-gq79, CGA-gvg7-g73v-c59v, CGA-h2cf-jx5v-rjxf, CGA-hcr2-w92c-v323, CGA-hq85-8f7x-fpp5, CGA-hr69-c272-c3pr, CGA-hw7m-wvh9-m6rp, CGA-hwcm-3m7j-wj7r, CGA-j34g-qvx8-4p3p, CGA-j43c-gp7m-m2c8, CGA-j6j7-59jq-79jw, CGA-j88r-7w4r-598r, CGA-jg76-7fmf-r6r7, CGA-jp6r-hh7v-46j4, CGA-jpgr-rw4c-rxf4, CGA-jqjv-4h76-h8g5, CGA-jr98-4759-j5m5, CGA-jxpw-w6rw-36w6, CGA-m2fv-hxrr-35gh, CGA-m2x6-3h98-x49m, CGA-m3qj-49h9-h2fx, CGA-m45h-rgm6-gjq6, CGA-mcpj-v3r9-9553, CGA-mmff-6mgj-6h7p, CGA-mwmq-vvpf-9qr5, CGA-mxqw-xcjj-6968, CGA-p3hc-69j8-cqhw, CGA-p3vx-6x45-v9cr, CGA-p5vr-8m2j-5p56, CGA-pc72-rh7p-5j9r, CGA-phjw-mp93-v6g5, CGA-pm57-655r-g6qp, CGA-pmcc-jw2f-q6f6, CGA-pp2g-44qc-469j, CGA-pr78-7q52-q39j, CGA-prq5-22fr-449v, GHSA-q5r4-cfpx-h6fh, CGA-pwhc-vwwv-36qp, CGA-q2cr-5xcw-w7jj, CGA-q2hf-jmh8-j77m, CGA-q388-wg6r-mfgx, CGA-q7c2-m9mr-r2pm, CGA-q8vv-pc6p-vjw6, CGA-q9m2-4wjr-3jjv, CGA-qffp-67r8-wgvp, CGA-qfg2-47p2-54jx, CGA-qp64-xjwv-rw59, CGA-qqgw-v2p9-4cww, CGA-qxcc-cgm9-8x8q, CGA-r35c-r72g-8hj9, CGA-r5j8-qgrm-xjf7, CGA-r729-xjxj-j49x, CGA-rg78-6vh2-w3fq, CGA-rh5x-8gj8-vcqg, CGA-rjj2-hpc8-534x, CGA-rm2v-pcqh-mchp, CGA-rmmm-7c33-6pgc, CGA-rmqr-r2j6-36cj, CGA-rrg2-fc93-7mg5, CGA-rvpc-2pvr-37cc, CGA-rxfw-36xq-pwv4, CGA-v25r-4q2h-x9wm, CGA-v2h5-rhgp-5w53, CGA-v548-vrx8-m4q2, CGA-v68p-98m3-hmq6, CGA-v7vh-vg2c-744m, CGA-v8f5-25hw-pvj2, CGA-vg55-w3fm-f959, CGA-vjm2-2769-gcrh, CGA-vvqm-847w-9gr3, CGA-vwcf-3pq2-mq36, CGA-w2x4-6gcp-67mj, CGA-w499-85f6-5j25, CGA-w4fv-3rx5-8fr5, CGA-wcg9-684x-5chp, CGA-wmm3-2vh4-jrx3, CGA-wqfc-p853-3p3q, CGA-wr9q-pv48-23hr, CGA-wrr5-53q3-9mch, CGA-wvcp-4w9x-xwph, CGA-wwg7-xhxr-p3gv, CGA-x2qf-r5fr-5687, CGA-x36w-w53g-p9vv, CGA-x82j-573x-j72h, CGA-x8j7-r95f-rg56, CGA-x9xq-m643-h4vm, CGA-xc38-wpm4-qhj5, CGA-xfh2-xv46-jpq9, CGA-xfrr-97x3-2mfp, CGA-xhqg-fmm8-m8mg, CGA-xj69-jg38-rx86, CGA-xj7v-28j2-q8rv, CGA-xq3f-7gfr-rrxq, CGA-xx9f-q6p7-36m8, ALPINE-CVE-2021-36373
- Record: https://cvemate.com/vulnerability/CVE-2021-36373 · JSON: https://cvemate.com/vulnerability/CVE-2021-36373/json

## Description

```text
When reading a specially crafted TAR archive an Apache Ant build can be made to allocate large amounts of memory that finally leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Apache Ant prior to 1.9.16 and 1.10.11 were affected.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 2.532%, percentile 85.447%, 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 135)

- apache software foundation apache ant: ≥ Apache Ant 1.9.x, ≤ 1.9.15 \| ≥ Apache Ant 1.10.x, ≤ 1.10.10
- apache ant: ≥ 1.9.0, \< 1.9.16 \| ≥ 1.10.0, \< 1.10.11
- alpine apache-ant (Alpine Linux): \< 1.10.11-r0
- chainguard eco-java-gradle-1.11 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.0 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.1 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.10 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.11 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.12 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.13 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.14 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.14.1 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.2 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.2.1 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.3 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.4 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.5 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.6 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.7 (Chainguard): All versions (No fix recorded)
- chainguard eco-java-gradle-2.8 (Chainguard): All versions (No fix recorded)

## References (first 20 of 22)

- <https://ant.apache.org/security.html>
- <https://lists.apache.org/thread.html/r54afdab05e01de970649c2d91a993f68a6b00cd73e6e34e16c832d46%40%3Cuser.ant.apache.org%3E>
- <https://lists.apache.org/thread.html/r27919fd4db07c487239c1d9771f480d89ce5ee2750aa9447309b709a%40%3Ccommits.groovy.apache.org%3E>
- <https://lists.apache.org/thread.html/r544c9e8487431768465b8b2d13982c75123109bd816acf839d46010d%40%3Ccommits.groovy.apache.org%3E>
- <https://lists.apache.org/thread.html/rad36f470647c5a7c02dd78c9973356d2840766d132b597b6444e373a%40%3Cnotifications.groovy.apache.org%3E>
- <https://lists.apache.org/thread.html/rf4bb79751a02889623195715925e4fd8932dd3c97e0ade91395a96c6%40%3Cdev.myfaces.apache.org%3E>
- <https://www.oracle.com/security-alerts/cpuoct2021.html>
- <https://security.netapp.com/advisory/ntap-20210819-0007/>
- <https://www.oracle.com/security-alerts/cpujan2022.html>
- <https://www.oracle.com/security-alerts/cpuapr2022.html>
- <https://www.oracle.com/security-alerts/cpujul2022.html>
- <https://ubuntu.com/security/CVE-2021-36373>
- <https://www.openwall.com/lists/oss-security/2021/07/13/5>
- <https://www.cve.org/CVERecord?id=CVE-2021-36373>
- <https://security-tracker.debian.org/tracker/CVE-2021-36373>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-36373>
- <https://lists.apache.org/thread.html/r27919fd4db07c487239c1d9771f480d89ce5ee2750aa9447309b709a@%3Ccommits.groovy.apache.org%3E>
- <https://lists.apache.org/thread.html/r544c9e8487431768465b8b2d13982c75123109bd816acf839d46010d@%3Ccommits.groovy.apache.org%3E>
- <https://lists.apache.org/thread.html/rad36f470647c5a7c02dd78c9973356d2840766d132b597b6444e373a@%3Cnotifications.groovy.apache.org%3E>
- <https://lists.apache.org/thread.html/rf4bb79751a02889623195715925e4fd8932dd3c97e0ade91395a96c6@%3Cdev.myfaces.apache.org%3E>

---

Data as of 2026-12-05T06:22:47.213Z. 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
