Skip to content
Fencer Intel
medium 5.5

CVE-2018-1324 json

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

published 8y ago modified 4mo ago also GHSA-h436-432x-8fvx , EUVD-2019-0384

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.7%
EPSS 3.7% chance of exploitation in 30 days, percentile 89%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.apache.commons:commons-compress 1.16
  • maven com.liferay:com.liferay.portal.tools.bundle.support 3.7.4
  • libcommons-compress-java Debian 14, Debian 13, Debian 12 1.13-2

debian advisories DEBIAN-CVE-2018-1324

Is CVE-2018-1324 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-1324 updated cvss 7.5

apache-commons-compress: Infinite loop via extra field parser in ZipFile and ZipArchiveInputStream classes

  • Red Hat JBoss Data Virtualization 6 commons-compress commons-compress Red Hat OpenStack Platform 8 (Liberty) opendaylight Red Hat OpenStack Platform 9 (Mitaka) opendaylight Red Hat Software Collections rh-maven35-apache-commons-compress, rh-maven35-apache-commons-compress-javadoc
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Developer Studio 11 commons-compress commons-compress Red Hat BPM Suite 6 commons-compress commons-compress Red Hat Enterprise Linux 7 apache-commons-compress, apache-commons-compress-javadoc Red Hat Enterprise Linux 8 apache-commons-compress, apache-commons-compress-javadoc Red Hat JBoss BRMS 5 commons-compress commons-compress Red Hat JBoss BRMS 6 commons-compress commons-compress
    +8 more products
    Red Hat JBoss Fuse 6 commons-compress commons-compress Red Hat JBoss Fuse Service Works 6 commons-compress commons-compress Red Hat Mobile Application Platform 4 commons-compress Red Hat OpenShift Application Runtimes commons-compress commons-compress Red Hat Satellite 6 commons-compress Red Hat Software Collections rh-java-common-apache-commons-compress, rh-java-common-apache-commons-compress-javadoc Red Hat Storage 3 commons-compress Red Hat Virtualization 4 apache-commons-compress, apache-commons-compress-javadoc
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.66% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P
GitHub 3.0 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
maven org.apache.commons:commons-compress
>=1.11, <1.16
1.16
maven com.liferay:com.liferay.portal.tools.bundle.support
>=3.2.7, <3.7.4
3.7.4
maven io.takari:commons-compress
1 listed version
no fix listed

Affected products

  • Apache Software Foundation Apache Commons Compress

Classification

Weakness
  • CWE-835 Loop with Unreachable Exit Condition

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.