Skip to main content
Mallory
HighVulnerability

CVE-2021-35517: Apache Commons Compress TAR PAX Header Memory Exhaustion

Published Jul 13, 2021 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v3.1
EPSS10.6%96th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendors
NetAppOracle CorporationApache Software Foundation
IdentifiersCVE-2021-35517CWE-770 · Allocation of Resources Without…

CVE-2021-35517 is an uncontrolled resource-allocation vulnerability in the TAR handling functionality of Apache Commons Compress. Insufficient validation of PAX header value sizes permits a specially crafted TAR archive to cause excessive memory allocation during parsing, potentially from a very small input. Apache Commons Compress 1.21 corrects the size-validation flaw.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

An attacker can exhaust heap memory in an application that processes attacker-controlled TAR archives through Apache Commons Compress. The resulting out-of-memory condition can terminate or severely impair the application or service, producing denial of service. The vulnerability does not provide confidentiality or integrity impact.

Mitigation

If you can’t patch tonight, do this now.

Until updates are installed, do not process untrusted TAR archives with vulnerable Apache Commons Compress versions. Enforce archive-content and PAX-header size limits before processing where feasible, and run archive processing in resource-constrained, isolated workers with memory limits to reduce service-wide denial-of-service impact.

Remediation

Patch, then assume compromise.

Upgrade Apache Commons Compress to version 1.21 or a later vendor-maintained release incorporating the fix. Apply the relevant vendor security update for products that bundle the vulnerable library.

Public exploits

Exploits

No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
Every candidate exploit was rejected by Mallory's analysis.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Apache Software FoundationCommons-Compressapplication
NetAppActiveiq Unified Managerapplication
NetAppOncommand Insightapplication
Oracle CorporationBanking Apisapplication
Oracle CorporationBanking Digital Experienceapplication
Oracle CorporationBanking Enterprise Default Managementapplication
Oracle CorporationBanking Party Managementapplication
Oracle CorporationBanking Paymentsapplication
Oracle CorporationBanking Trade Financeapplication
Oracle CorporationBanking Treasury Managementapplication
Oracle CorporationBusiness Process Management Suiteapplication
Oracle CorporationCommerce Guided Searchapplication
Oracle CorporationCommunications Billing And Revenue Managementapplication
Oracle CorporationCommunications Cloud Native Core Service Communication Proxyapplication
Oracle CorporationCommunications Cloud Native Core Unified Data Repositoryapplication
Oracle CorporationCommunications Diameter Intelligence Hubapplication
Oracle CorporationCommunications Messaging Serverapplication
Oracle CorporationCommunications Session Route Managerapplication
Oracle CorporationFinancial Services Crime And Compliance Management Studioapplication
Oracle CorporationFinancial Services Enterprise Case Managementapplication
Oracle CorporationFlexcube Universal Bankingapplication
Oracle CorporationHealthcare Data Repositoryapplication
Oracle CorporationInsurance Policy Administrationapplication
Oracle CorporationPeoplesoft Enterprise Peopletoolsapplication
Oracle CorporationPrimavera Unifierapplication
Oracle CorporationUtilities Testing Acceleratorapplication
Oracle CorporationWebcenter Portalapplication
FAQ

Frequently asked questions

Is CVE-2021-35517 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2021-35517 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2021-35517?
As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-35517.
Is there a patch for CVE-2021-35517?
Upgrade Apache Commons Compress to version 1.21 or a later vendor-maintained release incorporating the fix. Apply the relevant vendor security update for products that bundle the vulnerable library.
What products are affected by CVE-2021-35517?
NetApp Activeiq Unified Manager, Oracle Corporation Banking Apis, Oracle Corporation Banking Digital Experience, Oracle Corporation Banking Enterprise Default Management, Oracle Corporation Banking Party Management, and at least 22 more.
How severe is CVE-2021-35517?
CVE-2021-35517 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 10.6% (96th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.