Description
When reading a specially crafted TAR archive an Apache Ant build can be made to allocate large amounts of memory that finally leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Apache Ant prior to 1.9.16 and 1.10.11 were affected.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Ant | Apache Ant 1.9.x – ≤ 1.9.15, Apache Ant 1.10.x – ≤ 1.10.10 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ant | 1.10.11-1 | — |
| Debian 13 | ant | 1.10.11-1 | — |
| Debian 12 | ant | 1.10.11-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ant | No fix yet | — |
| Ubuntu 26.04 LTS | ant | No fix yet | — |
| Ubuntu 25.10 | ant | No fix yet | — |
| Ubuntu 24.04 LTS | ant | No fix yet | — |
| Ubuntu 22.04 LTS | ant | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | ant | No fix yet | — |
| Ubuntu Pro 18.04 LTS | ant | No fix yet | — |
| Ubuntu Pro 16.04 LTS | ant | No fix yet | — |
| Ubuntu Pro 14.04 LTS | ant | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | ant +2 | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SLES 12 SP5 | ant +1 | 1.9.4-3.9.1 | SUSE-SU-2022:1417-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP5 | ant | 1.9.4-3.9.1 | SUSE-SU-2022:1417-1 |
| SLE Real Time 15 SP2 | ant +2 | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ant | 1.10.12-1.1 | openSUSE-SU-2024:11688-1 |
| openSUSE Leap 15.4 | ant +3 | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| openSUSE Leap 15.3 | ant +3 | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | apache-ant | 1.10.11-r0 | — |
| Alpine v3.23 | apache-ant | 1.10.11-r0 | — |
| Alpine v3.22 | apache-ant | 1.10.11-r0 | — |
| Alpine v3.21 | apache-ant | 1.10.11-r0 | — |
| Alpine v3.20 | apache-ant | 1.10.11-r0 | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | apache-ant | 1.10.11-r0 | — |
| Alpine v3.18 | apache-ant | 1.10.11-r0 | — |
| Alpine v3.17 | apache-ant | 1.10.11-r0 | — |
| Alpine v3.16 | apache-ant | 1.10.11-r0 | — |
| Alpine v3.15 | apache-ant | 1.10.11-r0 | — |
| Alpine v3.14 | apache-ant | 1.10.11-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | javapackages-bootstrap | 1.14.0-2 | — |
| Azure Linux 2 (CBL-Mariner) | javapackages-bootstrap | 1.5.0-6 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.ant:ant | < 1.9.16 | 1.9.16 | GHSA-q5r4-cfpx-h6fh |
| Maven | org.apache.ant:ant | >= 1.10.0, < 1.10.11 | 1.10.11 | GHSA-q5r4-cfpx-h6fh |
Advisories 8
- WID-SEC-2024-0794 Dell ECS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- openSUSE-SU-2024:11688-1 ant-1.10.12-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1417-1 Security update for ant SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1418-1 Security update for ant SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2026-0180 Dell Data Protection Advisor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 20, 2026
- WID-SEC-2022-1738 IBM InfoSphere Information Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 3, 2025
- NCSC-2025-0064 Kwetsbaarheden verholpen in IBM Cognos Controller NCSC-NL (Netherlands) · Feb 21, 2025
- WID-SEC-2023-1034 Oracle JD Edwards: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 18, 2023
References
- https://ant.apache.org/security.html
- https://lists.apache.org/thread.html/r54afdab05e01de970649c2d91a993f68a6b00cd73e6e34e16c832d46%40%3Cuser.ant.apache.org%3E
- [groovy-commits] 20210714 [groovy] 08/09: GROOVY-10169: Bump Ant version to 1.10.11 (incorporates CVE-2021-36373 and CVE-2021-36374) mailing-list
- [groovy-commits] 20210715 [groovy] 02/07: GROOVY-10169: Bump Ant version to 1.10.11 (incorporates CVE-2021-36373 and CVE-2021-36374) mailing-list
- [groovy-notifications] 20210715 [jira] [Resolved] (GROOVY-10169) Bump Ant version to 1.10.11 (incorporates CVE-2021-36373 and CVE-2021-36374) mailing-list
- [myfaces-dev] 20210830 [GitHub] [myfaces-tobago] lofwyr14 opened a new pull request #1215: build: CVE fix mailing-list
- 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