Medium

Moderate severity vulnerability that affects org.apache.commons:commons-compress

  • Disclosed: 19.10.2018
  • Updated: 11.10.2026 12:21

When reading a specially crafted ZIP archive, the read method of Apache Commons Compress 1.7 to 1.17's 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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.commons:commons-compress >= 1.7, < 1.18 1.18

References

CVSS score 5.5/10
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-835
Platform
Java / Kotlin (Maven)
Package
org.apache.commons:commons-compress
Disclosed
19.10.2018
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-hrmr-f5m6-m9pq - CC BY 4.0

Vulnerability history: org.apache.commons:commons-compress

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (11) in the archive
Total entries
11
First → latest
10.2018 02.2024
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 5
  • Medium 6

Disclosures per year

  1. 2018: 1
  2. 2019: 2
  3. 2020: 0
  4. 2021: 4
  5. 2022: 1
  6. 2023: 1
  7. 2024: 2
  8. 2025: 0
  9. 2026: 0
Severity:
  1. High · 7.5 CVE-2021-35515 < 1.21 1.21
  2. High · 7.5 CVE-2019-12402 >= 1.15, < 1.19 1.19
  3. Moderate severity vulnerability that affects org.apache.commons:commons-compress this entry
    Medium · 5.5 CVE-2018-11771 >= 1.7, < 1.18 1.18

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.