CVE-2018-11771
When reading a specially crafted ZIP archive, the read method of Apache Commons Compress 1.7 to 1.17's ZipArchiveInputStream can fail to…
- 5.5MediumCVSS base score
- 5.3%Exploitation in 30 daysEPSS · top 7.4% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By apache
- 2 months later
· 2 months later
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 5.3% · top 7.4% of all CVEs (11 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
Apache Software Foundation · Apache Commons Compress
- affected 1.7 to 1.17
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.commons:commons-compressGHSA-hrmr-f5m6-m9pq (opens in a new tab)
References
References17
- 105139 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- [announce] 20180816 [CVE-2018-11771] Apache Commons Compress 1.7 to 1.17 denial of service vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 1041503 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- [pulsar-commits] 20190416 [GitHub] [pulsar] one70six opened a new issue #4057: Security Vulnerabilities - Black Duck Scan - Pulsar v.2.3.1 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [creadur-dev] 20190530 [Discuss] RAT-244 - update to language level 1.7 due to CVE issues in RAT (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [commons-notifications] 20190827 svn commit: r1049290 - in /websites/production/commons/content/proper/commons-compress: changes-report.html security-reports.html (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [commons-commits] 20190827 [commons-compress] branch master updated: record CVE-2019-12402 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tinkerpop-commits] 20190923 [GitHub] [tinkerpop] justinchuch opened a new pull request #1199: Upgrade commons-compress to version 1.19 due to CVE-2018-11771 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tinkerpop-commits] 20190923 [GitHub] [tinkerpop] spmallette commented on issue #1199: Upgrade commons-compress to version 1.19 due to CVE-2018-11771 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tinkerpop-commits] 20190923 [GitHub] [tinkerpop] robertdale commented on issue #1199: Upgrade commons-compress to version 1.19 due to CVE-2018-11771 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tinkerpop-dev] 20190924 [GitHub] [tinkerpop] spmallette commented on issue #1199: Upgrade commons-compress to version 1.19 due to CVE-2018-11771 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tinkerpop-commits] 20190924 [GitHub] [tinkerpop] spmallette commented on issue #1199: Upgrade commons-compress to version 1.19 due to CVE-2018-11771 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tinkerpop-commits] 20190924 [GitHub] [tinkerpop] justinchuch commented on issue #1199: Upgrade commons-compress to version 1.19 due to CVE-2018-11771 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tinkerpop-dev] 20190924 [GitHub] [tinkerpop] justinchuch commented on issue #1199: Upgrade commons-compress to version 1.19 due to CVE-2018-11771 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tinkerpop-dev] 20190930 [GitHub] [tinkerpop] spmallette closed pull request #1199: Upgrade commons-compress to version 1.19 due to CVE-2018-11771 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tinkerpop-commits] 20190930 [GitHub] [tinkerpop] spmallette merged pull request #1199: Upgrade commons-compress to version 1.19 due to CVE-2018-11771 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com/security-alerts/cpujan2022.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2018-0618 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-hrmr-f5m6-m9pq (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2018-11771)Record last updated .