VDB

CVE-2018-11771

CVE-2018-11771 PUBLISHED

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

Reported by apache · Published August 16, 2018

commons-compress is fixed in 1.18 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.apache.commons:commons-compressMaven Central1.18
commons_compressapache1.17.0

Affected products

VendorProductVersions
Apache Software FoundationApache Commons Compress1.7 to 1.17
Apache Software FoundationApache Commons Compress1.7

Timeline

  • Aug 16, 2018 CVE Published
  • Oct 2, 2020 PoC Published (7 in total, the first dated here)
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (4 in total, the first dated here)
  • Mar 17, 2026 Distribution Patch (3 in total, the first dated here)
  • Sep 25, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-11771
vulnetix vdb fixes CVE-2018-11771

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-11771/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›