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.
Advisories
Source ID Title
EUVD EUVD EUVD-2021-1582 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.
Github GHSA Github GHSA GHSA-5v34-g2px-j4fw Improper Handling of Length Parameter Inconsistency in Apache Ant
Fixes

Solution

No solution given by the vendor.


Workaround

Apache Ant 1.9.x users should upgrade to 1.9.16 or later. Apache Ant 1.10.x users should upgrade to 1.10.11 or later.

History

Sun, 13 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00127}

epss

{'score': 0.00113}


cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2024-08-04T00:54:51.456Z

Reserved: 2021-07-12T00:00:00

Link: CVE-2021-36374

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-07-14T07:15:08.400

Modified: 2024-11-21T06:13:38.083

Link: CVE-2021-36374

cve-icon Redhat

Severity : Low

Publid Date: 2021-07-13T00:00:00Z

Links: CVE-2021-36374 - Bugzilla

cve-icon OpenCVE Enrichment

No data.