Every CVE Search/ Get API key

CVE-2018-1324

Apache Commons Compress vulnerable to denial of service due to infinite loop

5.5 MediumPublic exploitFix available

A specially crafted ZIP archive can be used to cause an infinite loop inside of Apache Commons Compress' extra field parser used by the ZipFile and ZipArchiveInputStream classes in versions 1.11 to 1.15. This can be used to mount a denial of service attack against services that use Compress' zip package.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

3.66%Down 16.2 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

A specially crafted ZIP archive can be used to cause an infinite loop inside of Apache Commons Compress' extra field parser used by the ZipFile and ZipArchiveInputStream classes in versions 1.11 to 1.15. This can be used to mount a denial of service attack against services that use Compress' zip package.

Record
CVE-2018-1324
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-835
Updated
2026-11-02
CVE List No score

A specially crafted ZIP archive can be used to cause an infinite loop inside of Apache Commons Compress' extra field parser used by the ZipFile and ZipArchiveInputStream classes in versions 1.11 to 1.15. This can be used to mount a denial of service attack against services that use Compress' zip package.

Record
CVE-2018-1324
Updated
2026-11-02
EUVDEUVD-2019-0384 No score

A specially crafted ZIP archive can be used to cause an infinite loop inside of Apache Commons Compress' extra field parser used by the ZipFile and ZipArchiveInputStream classes in versions 1.11 to 1.15. This can be used to mount a denial of service attack against services that use Compress' zip package.

Record
EUVD-2019-0384
Updated
2026-11-03
GitHub AdvisoriesGHSA-h436-432x-8fvx 5.5

Apache Commons Compress vulnerable to denial of service due to infinite loop

A specially crafted ZIP archive can be used to cause an infinite loop inside of Apache Commons Compress' extra field parser used by the ZipFile and ZipArchiveInputStream classes in versions 1.11 to 1.15. This can be used to mount a denial of service attack against services that use Compress' zip package.

Record
GHSA-h436-432x-8fvx
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-835
Updated
2026-11-02
OSV 5.5

A specially crafted ZIP archive can be used to cause an infinite loop inside of Apache Commons Compress' extra field parser used by the ZipFile and ZipArchiveInputStream classes in versions 1.11 to 1.15. This can be used to mount a denial of service attack against services that use Compress' zip package.

Record
CVE-2018-1324
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-1324 5.5

A specially crafted ZIP archive can be used to cause an infinite loop inside of Apache Commons Compress' extra field parser used by the ZipFile and ZipArchiveInputStream classes in versions 1.11 to 1.15. This can be used to mount a denial of service attack against services that use Compress' zip package.

Record
DEBIAN-CVE-2018-1324
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 6 moreShow less
OSVGHSA-h436-432x-8fvx 5.5

Apache Commons Compress vulnerable to denial of service due to infinite loop

A specially crafted ZIP archive can be used to cause an infinite loop inside of Apache Commons Compress' extra field parser used by the ZipFile and ZipArchiveInputStream classes in versions 1.11 to 1.15. This can be used to mount a denial of service attack against services that use Compress' zip package.

Record
GHSA-h436-432x-8fvx
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-835
Updated
2026-11-02
OSVUBUNTU-CVE-2018-1324 5.5

A specially crafted ZIP archive can be used to cause an infinite loop inside of Apache Commons Compress' extra field parser used by the ZipFile and ZipArchiveInputStream classes in versions 1.11 to 1.15. This can be used to mount a denial of service attack against services that use Compress' zip package.

Record
UBUNTU-CVE-2018-1324
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVCLSA-2026-1785909110 No score

TuxCare security update for org.apache.commons:commons-compress (1 CVE)

TuxCare rebuilt org.apache.commons:commons-compress to address 1 CVE. Fixed in 1.12-tuxcare.1.

Record
CLSA-2026-1785909110
Updated
2026-11-02
OSVCLSA-2026-1785936779 No score

TuxCare security update for org.apache.commons:commons-compress (2 CVEs)

TuxCare rebuilt org.apache.commons:commons-compress to address 2 CVEs. Fixed in 1.14-tuxcare.1.

Record
CLSA-2026-1785936779
Updated
2026-11-02
OSVCLSA-2026-1785947990 No score

TuxCare security update for org.apache.commons:commons-compress (3 CVEs)

TuxCare rebuilt org.apache.commons:commons-compress to address 3 CVEs. Fixed in 1.15-tuxcare.1.

Record
CLSA-2026-1785947990
Updated
2026-11-02
OSVMGASA-2019-0001 No score

Updated pache-commons-compress packages fix security vulnerabilities

A flaw was found in Apache Commons Compress versions 1.11 to 1.15. A specially crafted ZIP archive can be used to cause an infinite loop inside of Apache Commons Compress' extra field parser used by the ZipFile and ZipArchiveInputStream classes in versions 1.11 to 1.15. This can be used to mount a denial of service attack against services that use Compress' zip package (CVE-2018-1324).

Apache Commons Compress versions 1.7 to 1.17 are vulnerable to a denial of service attack via crafted ZIP archive. When reading a specially crafted ZIP archive, the read method of ZipArchiveInputStream can fail to return the correct EOF indication after the end of the stream has been reached. When combined with a java.io.InputStreamReader this can lead to an infinite stream, which can be used to mount a denial of service attack against services that use Compress' zip package (CVE-2018-11771).

Record
MGASA-2019-0001
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.commons:commons-compress
Maven
1.11 up to 1.16
1.16
com.liferay:com.liferay.portal.tools.bundle.support
Maven
3.2.7 up to 3.7.4
3.7.4
io.takari:commons-compress
Maven
1.12 to 1.12 None known
org.apache.commons:commons-compress
TuxCare:Maven
1.12 up to 1.12-tuxcare.1
1.12-tuxcare.1
org.apache.commons:commons-compress
TuxCare:Maven
From an advisory covering 2 CVEs
1.14 up to 1.14-tuxcare.1
1.14-tuxcare.1
org.apache.commons:commons-compress
TuxCare:Maven
From an advisory covering 3 CVEs
1.15 up to 1.15-tuxcare.1
1.15-tuxcare.1
libcommons-compress-java
Debian:12
before 1.13-2
1.13-2
libcommons-compress-java
Debian:13
before 1.13-2
1.13-2
libcommons-compress-java
Debian:14
before 1.13-2
1.13-2
org.apache.commons:commons-compress
Maven
1.11 up to 1.16, plus listed versions
1.121.131.141.15
1.16
Show 10 moreShow less
Affected packages
PackageAffectedFixed
com.liferay:com.liferay.portal.tools.bundle.support
Maven
3.2.7 up to 3.7.4, plus listed versions
3.3.03.4.03.4.13.4.23.4.3
Show 13 moreShow less
3.5.03.5.13.5.23.5.33.5.43.5.53.5.63.6.03.6.13.7.03.7.13.7.23.7.3
3.7.4
io.takari:commons-compress
Maven
Listed versions
1.12
None known
apache-commons-compress
Mageia:6
From an advisory covering 2 CVEs
before 1.12-1.2.mga6
1.12-1.2.mga6
libcommons-compress-java
Ubuntu:16.04:LTS
All versions, plus listed versions
1.9-11.10-11.10-2
None known
libcommons-compress-java
Ubuntu:20.04:LTS
All versions, plus listed versions
1.18-31.19-1
None known
libcommons-compress-java
Ubuntu:22.04:LTS
All versions, plus listed versions
1.20-11.21-1
None known
libcommons-compress-java
Ubuntu:24.04:LTS
All versions, plus listed versions
1.23.0-11.24.0-11.25.0-1
None known
libcommons-compress-java
Ubuntu:25.10
All versions, plus listed versions
1.27.1-2
None known
libcommons-compress-java
Ubuntu:26.10
All versions, plus listed versions
1.27.1-2
None known
libcommons-compress-java
Ubuntu:26.04:LTS
All versions, plus listed versions
1.27.1-2
None known

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubtafamace/CVE-2018-13242018-11-19

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-1324 is a medium vulnerability (CVSS 5.5) in Apache Commons Compress, published March 16, 2018. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 3.66%, the 89th percentile. Fixed in org.apache.commons:commons-compress 1.16.

References

Show 18 moreShow less
MoveEnter Open