CVE-2021-35516

HIGH

Apache Commons Compress 1.6-1.19 - Denial of Service via Malicious 7Z Archive

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2021-35516. PoCs published by dawetmaster, andikahilmy.

AI-analyzed exploit summary The repository contains only partial source code files from Apache Commons Compress without any exploit code or technical analysis. No PoC or vulnerability demonstration is present.

Description

When reading a specially crafted 7Z archive, Compress can be made to allocate large amounts of memory that finally leads to an out of memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' sevenz package.

Exploits (2)

nomisec STUB
by dawetmaster · poc
https://github.com/dawetmaster/CVE-2021-35516-commons-compress-vulnerable

The repository contains only partial source code files from Apache Commons Compress without any exploit code or technical analysis. No PoC or vulnerability demonstration is present.

Classification
Stub 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: Apache Commons Compress
No auth needed
devstral-2 · analyzed Mar 14, 2026 Full analysis →
nomisec WORKING POC
by andikahilmy · poc
https://github.com/andikahilmy/CVE-2021-35516-commons-compress-vulnerable

This repository contains the vulnerable source code of Apache Commons Compress, specifically the files related to archive handling. The code includes the vulnerable components that could lead to arbitrary file write or path traversal (CVE-2021-35516).

Classification
Working Poc 90%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Apache Commons Compress
No auth needed
Prerequisites: Access to a system using Apache Commons Compress to process malicious archives
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (18)

Core 18
Core References
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2021/07/13/2
Patch, Third Party Advisory x_refsource_misc
https://www.oracle.com/security-alerts/cpuoct2021.html
Patch, Third Party Advisory x_refsource_misc
https://www.oracle.com/security-alerts/cpujan2022.html
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20211022-0001/
Patch, Third Party Advisory x_refsource_misc
https://www.oracle.com/security-alerts/cpuapr2022.html
Patch, Third Party Advisory x_refsource_misc
https://www.oracle.com/security-alerts/cpujul2022.html

Scores

CVSS v3 7.5
EPSS 0.0174
EPSS Percentile 83.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-130 CWE-770
Status published
Products (46)
apache/commons_compress 1.6 - 1.20
netapp/active_iq_unified_manager (3 CPE variants)
netapp/oncommand_insight
oracle/banking_digital_experience 19.1
oracle/banking_digital_experience 19.2
oracle/banking_digital_experience 20.1
oracle/banking_digital_experience 21.1
oracle/banking_digital_experience 18.1 - 18.3
oracle/banking_enterprise_default_management 2.7.0
oracle/banking_party_management 2.7.0
... and 36 more
Published Jul 13, 2021
Tracked Since Feb 18, 2026