CVE-2021-36374Apache Ant
Medium 5.5
Follow: this CVE · Apache · Apache Ant We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 2.6% probability of exploitation in 30 days · percentile 86
- Auth required
- Yes
- Published
- Jul 14, 2021
- Updated
- Aug 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-130
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Ant.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.ant:ant |
≥ 1.9.0 < 1.9.16 |
1.9.16 |
— |
| Maven | org.apache.ant:ant |
≥ 1.10.0 < 1.10.11 |
1.10.11 |
— |
Per OSV / GitHub Advisories (GHSA-5v34-g2px-j4fw). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | ant | ≥ 1.9.0 < 1.9.16 |
| apache | ant | ≥ 1.10.0 < 1.10.11 |
| oracle | agile_engineering_data_management | 6.2.1.0 |
| oracle | agile_product_lifecycle_management | 9.3.6 |
| oracle | banking_trade_finance | 14.5 |
| oracle | banking_treasury_management | 14.5 |
| oracle | communications_cloud_native_core_automated_test_suite | 1.9.0 |
| oracle | communications_cloud_native_core_binding_support_function | 1.11.0 |
| oracle | communications_diameter_intelligence_hub | ≥ 8.0.0 ≤ 8.1.0 |
| oracle | communications_diameter_intelligence_hub | ≥ 8.2.0 ≤ 8.2.3 |
| oracle | communications_order_and_service_management | 7.3 |
| oracle | communications_order_and_service_management | 7.4 |
| oracle | communications_unified_inventory_management | 7.3.0 |
| oracle | communications_unified_inventory_management | 7.4.0 |
| oracle | communications_unified_inventory_management | 7.4.1 |
| oracle | communications_unified_inventory_management | 7.4.2 |
| oracle | communications_unified_inventory_management | 7.5.0 |
| oracle | enterprise_repository | 11.1.1.7.0 |
| oracle | financial_services_analytical_applications_infrastructure | ≥ 8.0.6 ≤ 8.1.1 |
| oracle | health_sciences_information_manager | ≥ 3.0.1 ≤ 3.0.5 |
| oracle | health_sciences_information_manager | 3.0.0.1 |
| oracle | insurance_policy_administration | ≥ 11.0 ≤ 11.3.1 |
| oracle | primavera_gateway | ≥ 17.12.0 ≤ 17.12.11 |
| oracle | primavera_gateway | ≥ 18.8.0 ≤ 18.8.12 |
| oracle | primavera_gateway | ≥ 19.12.0 ≤ 19.12.11 |
| oracle | primavera_gateway | ≥ 20.12.0 ≤ 20.12.7 |
| oracle | primavera_unifier | ≥ 17.7 ≤ 17.12 |
| oracle | primavera_unifier | 18.8 |
| oracle | primavera_unifier | 19.12 |
| oracle | primavera_unifier | 20.12 |
| oracle | product_lifecycle_analytics | 3.6.1 |
| oracle | real-time_decision_server | 3.2.0.0 |
| oracle | real-time_decision_server | 11.1.1.9.0 |
| oracle | retail_advanced_inventory_planning | 14.1 |
| oracle | retail_advanced_inventory_planning | 15.0 |
| oracle | retail_advanced_inventory_planning | 16.0 |
| oracle | retail_back_office | 14.0 |
| oracle | retail_back_office | 14.1 |
| oracle | retail_bulk_data_integration | 16.0.3.0 |
| oracle | retail_bulk_data_integration | 19.0.1 |
| oracle | retail_central_office | 14.0 |
| oracle | retail_central_office | 14.1 |
| oracle | retail_eftlink | 19.0.1 |
| oracle | retail_eftlink | 20.0.1 |
| oracle | retail_extract_transform_and_load | 13.2.8 |
| oracle | retail_financial_integration | 14.1.3.2 |
| oracle | retail_financial_integration | 15.0.4.0 |
| oracle | retail_financial_integration | 16.0.3.0 |
| oracle | retail_integration_bus | 14.1.3.2 |
| oracle | retail_integration_bus | 15.0.4.0 |
| oracle | retail_integration_bus | 16.0.3.0 |
| oracle | retail_integration_bus | 19.0.1.0 |
| oracle | retail_invoice_matching | 16.0.3 |
| oracle | retail_merchandising_system | 19.0.1 |
| oracle | retail_point-of-service | 14.0 |
| oracle | retail_point-of-service | 14.1 |
| oracle | retail_predictive_application_server | 14.1.3 |
| oracle | retail_predictive_application_server | 15.0.3 |
| oracle | retail_predictive_application_server | 16.0.3.0 |
| oracle | retail_service_backbone | 14.1.3.2 |
and 19 more in the JSON
Official advisories
- Security update for the Java stack · SUSE · SUSE-SU-2026:4677-1 · Oct 15, 2026 High
- Security update for ant · SUSE · openSUSE-SU-2026:21891-1 · Sep 20, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- ant.apache.org Patch Vendor Advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org Mailing List Vendor Advisory
- lists.apache.org
- security.netapp.com Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory