CVE-2021-35515Apache Commons Compress 1.6 to 1.20 denial of service vulnerability
- 7.5HighCVSS base score
- 11.6%Exploitation in 30 daysEPSS · top 3.9% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
When reading a specially crafted 7Z archive, the construction of the list of codecs that decompress an entry can result in an infinite loop. This could be used to mount a denial of service attack against services that use Compress' sevenz package.
Timeline
ID reserved
By apache
- 16 days later
· 16 days later
Published
- 3 years later
· 3 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 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 11.6% · top 3.9% of all CVEs (18 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
Apache Software Foundation · Apache Commons Compress
- affected 1.6 – < Apache Commons Compress*
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.commons:commons-compressGHSA-7hfm-57qf-j43q (opens in a new tab)
What to do
Workaround: Commons Compress users should upgrade to 1.21 or later.
References
References21
- https://commons.apache.org/proper/commons-compress/security-reports.html (opens in a new tab)x_refsource_MISCx_transferred
- https://lists.apache.org/thread.html/r19ebfd71770ec0617a9ea180e321ef927b3fefb4c81ec5d1902d20ab%40%3Cuser.commons.apache.org%3E (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20210713 CVE-2021-35515: Apache Commons Compress 1.6 to 1.20 denial of service vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [announce] 20210713 CVE-2021-35515: Apache Commons Compress 1.6 to 1.20 denial of service vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [pulsar-commits] 20210716 [GitHub] [pulsar] lhotari opened a new pull request #11345: [Security] Upgrade commons-compress to 1.21 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [druid-commits] 20210726 [GitHub] [druid] suneet-s opened a new pull request #11496: Address CVE-2021-35515 CVE-2021-36090 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [druid-commits] 20210726 [GitHub] [druid] suneet-s merged pull request #11496: Address CVE-2021-35515 CVE-2021-36090 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [druid-commits] 20210726 [druid] branch master updated: Address CVE-2021-35515 CVE-2021-36090 (#11496) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [skywalking-notifications] 20210802 [GitHub] [skywalking] wu-sheng opened a new pull request #7400: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [skywalking-notifications] 20210802 [skywalking] 01/01: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [skywalking-notifications] 20210803 [skywalking] branch master updated: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 (#7400) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [skywalking-notifications] 20210803 [GitHub] [skywalking] hanahmily merged pull request #7400: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [skywalking-notifications] 20210803 [GitHub] [skywalking] codecov[bot] edited a comment on pull request #7400: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [skywalking-notifications] 20210802 [GitHub] [skywalking] codecov[bot] commented on pull request #7400: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [skywalking-notifications] 20210802 [GitHub] [skywalking] codecov[bot] edited a comment on pull request #7400: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [poi-dev] 20210923 Re: [VOTE] Apache POI 5.1.0 release (RC1) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com/security-alerts/cpuoct2021.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpujan2022.html (opens in a new tab)x_refsource_MISCx_transferred
- https://security.netapp.com/advisory/ntap-20211022-0001/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.oracle.com/security-alerts/cpuapr2022.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpujul2022.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-2021-1620 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-7hfm-57qf-j43q (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-2021-35515)Record last updated .