CVE-2018-11771Apache Commons Compress
Medium 5.5
Follow: this CVE · Apache · Apache Commons Compress We alert you by email or Slack (account required).
- Priority
- 34
- CVSS 3.1
- 5.5
- EPSS
- 5.3% probability of exploitation in 30 days · percentile 93
- Auth required
- Yes
- Published
- Aug 16, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-835
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Commons Compress.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.commons:commons-compress |
≥ 1.7 < 1.18 |
1.18 |
— |
Per OSV / GitHub Advisories (GHSA-hrmr-f5m6-m9pq). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | commons_compress | ≥ 1.7.0 ≤ 1.17.0 |
| oracle | weblogic_server | 14.1.1.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Broken Link
- www.securitytracker.com Broken Link
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- www.oracle.com Patch Third Party Advisory