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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.64%, higher than 86% of CVEs (2026-12-01)
- Published: 2021-07-14T06:20:12.000Z
- Modified: 2026-08-25T16:28:27.310Z
- Also known as: GHSA-5v34-g2px-j4fw
- Weaknesses: CWE-130
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Ant: from 1.4 before Apache Ant*; from Apache Ant 1.9.x up to 1.9.15; from Apache Ant 1.10.x up to 1.10.10
- org.apache.ant:ant (Maven): from 1.9.0 before 1.9.16; from 1.10.0 before 1.10.11
- apache ant: from 1.9.0 before 1.9.16; from 1.10.0 before 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: from 8.0.0 up to 8.1.0; from 8.2.0 up to 8.2.3
- oracle communications_order_and_service_management: 7.3; 7.4
- oracle communications_unified_inventory_management: 7.3.0; 7.4.0; 7.4.1; 7.4.2; 7.5.0
- oracle enterprise_repository: 11.1.1.7.0
- oracle financial_services_analytical_applications_infrastructure: from 8.0.6 up to 8.1.1
- oracle health_sciences_information_manager: from 3.0.1 up to 3.0.5; 3.0.0.1
- oracle insurance_policy_administration: from 11.0 up to 11.3.1
- oracle primavera_gateway: from 17.12.0 up to 17.12.11; from 18.8.0 up to 18.8.12; from 19.12.0 up to 19.12.11; from 20.12.0 up to 20.12.7
- oracle primavera_unifier: from 17.7 up to 17.12; 18.8; 19.12; 20.12
- oracle product_lifecycle_analytics: 3.6.1
- oracle real-time_decision_server: 3.2.0.0; 11.1.1.9.0
- oracle retail_advanced_inventory_planning: 14.1; 15.0; 16.0
- oracle retail_back_office: 14.0; 14.1
- oracle retail_bulk_data_integration: 16.0.3.0; 19.0.1
- oracle retail_central_office: 14.0; 14.1
- oracle retail_eftlink: 19.0.1; 20.0.1
- oracle retail_extract_transform_and_load: 13.2.8
- oracle retail_financial_integration: 14.1.3.2; 15.0.4.0; 16.0.3.0
- oracle retail_integration_bus: 14.1.3.2; 15.0.4.0; 16.0.3.0; 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; 14.1
- oracle retail_predictive_application_server: 14.1.3; 15.0.3; 16.0.3.0
- oracle retail_service_backbone: 14.1.3.2; 15.0.4.0; 16.0.3.0; 19.0.1.0
- oracle retail_store_inventory_management: 14.1; 15.0; 16.0
- oracle retail_xstore_point_of_service: 16.0.6; 17.0.4; 18.0.3; 19.0.2; 20.0.1
- oracle timesten_in-memory_database: before 11.2.2.8.27
- oracle utilities_framework: from 4.3.0.1.0 up to 4.3.0.6.0; 4.2.0.2.0; 4.2.0.3.0; 4.4.0.0.0; 4.4.0.2.0; 4.4.0.3.0
- oracle utilities_testing_accelerator: 6.0.0.1.1

## Every score

- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://ant.apache.org/security.html> (patch, vendor-advisory, web)
- <https://lists.apache.org/thread.html/rdd5412a5b9a25aed2a02c3317052d38a97128314d50bc1ed36e81d38%40%3Cuser.ant.apache.org%3E> (mailing-list, vendor-advisory, web)
- <https://lists.apache.org/thread.html/r27919fd4db07c487239c1d9771f480d89ce5ee2750aa9447309b709a%40%3Ccommits.groovy.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r544c9e8487431768465b8b2d13982c75123109bd816acf839d46010d%40%3Ccommits.groovy.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/rad36f470647c5a7c02dd78c9973356d2840766d132b597b6444e373a%40%3Cnotifications.groovy.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/rf4bb79751a02889623195715925e4fd8932dd3c97e0ade91395a96c6%40%3Cdev.myfaces.apache.org%3E> (mailing-list)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (patch, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20210819-0007/> (third-party-advisory)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-36374> (advisory)
- <https://lists.apache.org/thread.html/r27919fd4db07c487239c1d9771f480d89ce5ee2750aa9447309b709a@%3Ccommits.groovy.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r544c9e8487431768465b8b2d13982c75123109bd816acf839d46010d@%3Ccommits.groovy.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rad36f470647c5a7c02dd78c9973356d2840766d132b597b6444e373a@%3Cnotifications.groovy.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rf4bb79751a02889623195715925e4fd8932dd3c97e0ade91395a96c6@%3Cdev.myfaces.apache.org%3E> (web)
- <https://security.netapp.com/advisory/ntap-20210819-0007> (web)

## Sources

- CVE List: [CVE-2021-36374](https://www.cve.org/CVERecord?id=CVE-2021-36374), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-5v34-g2px-j4fw](https://github.com/advisories/GHSA-5v34-g2px-j4fw), CC-BY-4.0, modified 2024-03-01
- NVD: [CVE-2021-36374](https://nvd.nist.gov/vuln/detail/CVE-2021-36374), Public domain, modified 2026-08-25

---

Page: https://cve.day/CVE-2021-36374 · Whole record: https://cve.day/CVE-2021-36374.json · Rebuilt by cve.day 2026-11-25T22:58:02.607Z
