# CVE-2021-36374: Apache Ant ZIP, and ZIP based, archive denial of service vulerability

- 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-36374, DEBIAN-CVE-2021-36374, CGA-22wr-c4wm-3m4f, CGA-284f-379x-rr2p, CGA-298m-mm27-r6rv, CGA-2c8j-p9w2-xx44, CGA-2cmq-46fh-6gqw, CGA-2mcw-c3q9-hm7j, CGA-2qm6-3m7v-g3f8, CGA-2x6h-86q8-5wcr, CGA-32vv-fv5j-3gjr, CGA-33rj-gq5x-4w3q, CGA-3fj8-v9hv-vww4, CGA-3g4c-f947-jxv5, CGA-3hgp-625c-x5gv, CGA-3p48-pqgg-g45c, CGA-3q64-6x3p-6xjv, CGA-3rw3-2233-4w9g, CGA-43wg-q72w-wc2r, CGA-447j-3q49-4vrm, CGA-44ph-r6f2-hqcp, CGA-45v9-48pw-qmhw, CGA-4gj3-h34r-3hwh, CGA-4rh5-2vrf-33m4, CGA-59gw-v5h9-m7qp, CGA-5c95-rv7p-x6g8, CGA-5f3g-8828-2g77, CGA-5p25-wv93-mvhv, CGA-5pm7-qm9m-pgh3, CGA-5rj3-gcx6-g624, CGA-5vw8-cj2w-5h3m, CGA-5xcx-x948-qcx7, CGA-62mj-4vcq-3cq6, CGA-6c86-5x28-w446, CGA-6h3h-q98g-9979, CGA-6vh2-ppjp-hxmv, CGA-6wjw-fm82-mg9v, CGA-75x9-gcrh-j4mp, CGA-797x-2542-4qrq, CGA-798x-h5pf-x54g, CGA-7g3r-q36c-gv8w, CGA-7gc9-32gq-5pp7, CGA-7m43-26vm-9xq6, CGA-7q2p-m4rc-33jm, CGA-7q75-m3rf-q84j, CGA-7r8v-3599-9c33, CGA-7r94-2cg4-g2qx, CGA-7w2v-94fw-p84x, CGA-86j7-m4q4-7886, CGA-89gv-p8j9-m98v, CGA-8fpx-xgp5-5xr6, CGA-8jjj-8v36-7vv7, CGA-8jpx-57px-j6c7, CGA-8m2m-w7p5-g66j, CGA-8p8c-f7x8-7m7f, CGA-8qwq-64m6-29p4, CGA-8vx7-qjc4-rjvh, CGA-8xx8-jj7g-g7gr, CGA-925p-26gp-hv2f, CGA-93r3-gc75-rmv3, CGA-9588-5v7j-vjmj, CGA-964j-j65j-29xx, CGA-97fh-cfvv-6c6w, CGA-9j89-3j6p-f6j8, CGA-9mcw-jgcf-mq66, CGA-9qhq-4w5x-c43h, CGA-9v2r-jh29-6gvr, CGA-9w85-4mwh-8gjw, CGA-9w9x-hgv9-685v, CGA-c653-cpxp-ff7j, CGA-c7fq-32pp-g7x3, CGA-ccq2-8cx6-j39w, CGA-cffh-h4h5-7wq3, CGA-cm35-8wcp-p2q2, CGA-cm8r-2q4w-3xqg, CGA-cpmx-g89c-mh67, CGA-cqm3-8gw2-4rmr, CGA-cr7r-cg38-v6pf, CGA-f22g-m9f8-435m, CGA-f245-6697-539h, CGA-f4cx-x3qr-jgr9, CGA-f5j2-6hv8-rhxc, CGA-f83x-3rmg-455f, CGA-f9qm-f5h6-jpxr, CGA-ff87-fw2r-8jxr, CGA-ffw3-x95v-4977, CGA-fhr3-6rwp-247q, CGA-fvj6-cvcj-cm86, CGA-g4cr-94vg-jp7v, CGA-g57g-pxc6-599c, CGA-g822-jv3v-335w, CGA-g8hv-rcrf-mqj8, CGA-g9vh-q9w3-fwhp, CGA-gjqm-f73p-5vrw, CGA-gv57-vp32-82gv, CGA-gw32-pq2j-v7hv, CGA-h3fg-hhpj-w8gh, CGA-h894-3hv9-x76f, CGA-h99h-835j-hq7j, CGA-hcr9-rqv4-8gjm, CGA-hhqr-3jcj-mj5w, CGA-hjgx-frmr-h6fv, CGA-hjp3-hp4x-jp4q, CGA-hjqh-cgh4-p92m, CGA-hm3m-pwcj-cghc, CGA-hm8w-mff5-6mjj, CGA-j328-cw6c-c9mf, CGA-j3m3-53qr-cmph, CGA-j3qm-mgr3-xx48, CGA-j5jj-4549-w2fj, CGA-j69g-mgvw-47q6, CGA-j977-r43w-62m7, CGA-jg6g-6cmx-fw2m, CGA-jgqj-fpc5-468v, CGA-jgvf-27fc-7v6p, CGA-jgxq-8229-6942, CGA-jh44-qh35-vqpp, CGA-m2f9-g8vx-wq6q, CGA-m5cm-cf3g-84p7, CGA-m7qj-xrrv-fvwc, CGA-m9hx-2hx5-rgfp, CGA-mcx5-qj5h-8632, CGA-mgxq-7f5c-pgj2, CGA-mjh5-j5r4-r825, CGA-mmh4-4f5w-j92j, CGA-mvc3-7jh6-fp57, CGA-mwc6-56x6-fjjj, CGA-mx6h-748w-9467, CGA-mxc5-qvfg-vgv7, CGA-mxmh-f9g4-8j97, CGA-mxp3-pgg2-42qx, CGA-p3w5-gfqw-p3j8, CGA-p56q-7q96-vw57, CGA-p6gw-fj8m-xw8f, CGA-p8vh-phjw-jpfc, CGA-pcxq-m39g-rcq6, CGA-ppg4-9v5c-29mj, CGA-pq4q-cm6c-xh95, CGA-pr9f-9q5g-jjvm, CGA-prqh-wgqg-xhmj, CGA-pvm7-2w3q-p56m, GHSA-5v34-g2px-j4fw, CGA-pwp2-6jc3-v7vg, CGA-px79-2c4q-jh4w, CGA-q596-7px9-g4rv, CGA-q695-5xq3-jmw9, CGA-q8h9-h7cj-h7qg, CGA-qg9g-7mf8-7jgh, CGA-qhcw-xq6v-f8pv, CGA-qpvp-5gf8-mrr7, CGA-qpvr-4f9m-v6vj, CGA-qq3v-hx8g-vc85, CGA-qrhf-34mm-mw56, CGA-qw72-v5fq-v5fg, CGA-r44j-fx8c-w9v4, CGA-r6gv-fv6c-7mq7, CGA-rf9p-57p5-f46x, CGA-rgg6-36r5-6829, CGA-rjf9-w8xv-r2vh, CGA-rqgc-9jpc-f7pg, CGA-rqwj-qh3r-vj4w, CGA-rr44-9wxr-26x9, CGA-rx6r-4x52-qvmp, CGA-rx85-2jv2-c6g7, CGA-v29j-jpq5-chcq, CGA-v3vp-6x96-cfmf, CGA-vcvm-cq9g-wfhg, CGA-vgjm-6j4w-88mq, CGA-vj3c-h282-w6rh, CGA-vpcv-275f-v76q, CGA-vrmg-gw5m-vqmq, CGA-vw6m-hf5f-chqv, CGA-vxgx-xq97-m3vr, CGA-w23g-wm9r-pf69, CGA-w24r-hgc3-5qr5, CGA-w2c6-qq7r-vjcm, CGA-w5w3-4c8j-fgqj, CGA-w734-358q-m5fm, CGA-w852-pg33-xc3f, CGA-w9wx-7p76-gx4c, CGA-wcmv-xvp7-7ccv, CGA-wmcc-f2c3-mc99, CGA-wqgg-2r6c-5mqx, CGA-wqhm-x34w-3v27, CGA-x34w-6mmw-v974, CGA-x4qr-h9xv-cc3c, CGA-x55h-755c-5994, CGA-x64m-v72r-73c6, CGA-x69x-746v-q6cg, CGA-x7ch-493j-crg5, CGA-x7j7-5m7q-3qph, CGA-x88q-4prx-cw83, CGA-xc93-2j9r-r835, CGA-xf96-q554-q9wg, CGA-xhhc-wfg6-rr66, CGA-xhv7-rh3c-wr8x, CGA-xrpq-rx97-27fq, ALPINE-CVE-2021-36374
- Record: https://cvemate.com/vulnerability/CVE-2021-36374 · JSON: https://cvemate.com/vulnerability/CVE-2021-36374/json

## Description

```text
When reading a specially crafted ZIP archive, or a derived formats, an Apache Ant build can be made to allocate large amounts of memory that leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Commonly used derived formats from ZIP archives are for instance JAR files and many office files. 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.642%, percentile 86.088%, 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 138)

- apache software foundation apache ant: ≥ 1.4, \< 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/rdd5412a5b9a25aed2a02c3317052d38a97128314d50bc1ed36e81d38%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-36374>
- <https://www.openwall.com/lists/oss-security/2021/07/13/6>
- <https://www.cve.org/CVERecord?id=CVE-2021-36374>
- <https://security-tracker.debian.org/tracker/CVE-2021-36374>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-36374>
- <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-05T04:44:29.687Z. 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
