CVE & CISA-KEV Catalog

CVE-2021-36374

MEDIUMEPSS 85th pctl
5.5
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
antAmazon
Fixed in:0:1.9.16-1.amzn2.0.1
ant-antlrAmazon
Fixed in:0:1.9.16-1.amzn2.0.1
ant-apache-bcelAmazon
Fixed in:0:1.9.16-1.amzn2.0.1
ant-apache-bsfAmazon
Fixed in:0:1.9.16-1.amzn2.0.1
ant-apache-log4jAmazon
Fixed in:0:1.9.16-1.amzn2.0.1
ant-apache-oroAmazon
Fixed in:0:1.9.16-1.amzn2.0.1
ant-apache-regexpAmazon
Fixed in:0:1.9.16-1.amzn2.0.1
ant-apache-resolverAmazon
Fixed in:0:1.9.16-1.amzn2.0.1
ant-apache-xalan2Amazon
Fixed in:0:1.9.16-1.amzn2.0.1
ant-commons-loggingAmazon
Fixed in:0:1.9.16-1.amzn2.0.1
ant-commons-netAmazon
Fixed in:0:1.9.16-1.amzn2.0.1
ant-javadocAmazon
Fixed in:0:1.9.16-1.amzn2.0.1
ant-javamailAmazon
Fixed in:0:1.9.16-1.amzn2.0.1
ant-jdependAmazon
Fixed in:0:1.9.16-1.amzn2.0.1
ant-jmfAmazon
Fixed in:0:1.9.16-1.amzn2.0.1
ant-jschAmazon
Fixed in:0:1.9.16-1.amzn2.0.1
ant-junitAmazon
Fixed in:0:1.9.16-1.amzn2.0.1
ant-manualAmazon
Fixed in:0:1.9.16-1.amzn2.0.1
ant-swingAmazon
Fixed in:0:1.9.16-1.amzn2.0.1
ant-testutilAmazon
Fixed in:0:1.9.16-1.amzn2.0.1
antDebian
Fixed in:1.10.11-1CVE-2021-36374
Fixed in:1.10.11-1CVE-2021-36374
Fixed in:1.10.11-1CVE-2021-36374

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Exploit Intelligence

2.64%probability of exploitation in 30 days
85thpercentile

Elevated risk: more likely to be exploited than 85% of all known CVEs.

References

Related Vulnerabilities

Other CWE-130 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-14847High7.583%KEVFix
CVE-2024-39614High7.529%-Fix
CVE-2021-36090High7.513%-Fix
CVE-2021-35516High7.512%-Fix
CVE-2021-35517High7.511%-Fix
CVE-2019-3862High7.38.1%-Fix

Common questions

How do I fix CVE-2021-36374?

Published advisories record a fix for 21 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2021-36374 being actively exploited?

Not that we know of. CVE-2021-36374 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 2.6% is the estimated probability that it will be exploited in the next 30 days. That is higher than 85% of all scored CVEs.

How severe is CVE-2021-36374?

CVE-2021-36374 has a CVSS v3 base score of 5.5, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2021-36374 affect?

Published advisories record a fix for ant (Amazon), ant-antlr (Amazon), ant-apache-bcel (Amazon), ant-apache-bsf (Amazon), and 17 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2021-36374
CVE-2021-36374 severity badge

Markdown

[![CVE-2021-36374](https://tridentstack.com/cve/badge/CVE-2021-36374.svg)](https://tridentstack.com/cve/CVE-2021-36374)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-36374"><img src="https://tridentstack.com/cve/badge/CVE-2021-36374.svg" alt="CVE-2021-36374"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-08-25.