GHSA-rrh7-4pj2-xxq8
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft tar with oversized size field
-
ExploitSubmit archive to Archive::Tar parser
-
ExecutionModule allocates per declared header size
-
ImpactMemory exhausted, service denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
|
| Exploitation Conditions | Exploitation requires that a target application uses Archive::Tar before 3.10 to read or extract a tar archive that the attacker can supply; the malicious archive simply needs one entry header declaring a size large enough to trigger an outsized allocation. Per the CVSS vector (PR:N, UI:N, AC:L) no authentication, no user interaction, and no special non-default configuration are needed - pre-3.10 versions had no size cap by default, so default installations are affected. The key limiting factors are scope and impact rather than prerequisites: the attacker must have a path to feed an untrusted tarball into the parser, and the outcome is availability loss (denial of service) only - there is no code execution, file write, or data disclosure from this issue. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) describes a low-effort, network-reachable, unauthenticated condition with availability-only impact - i.e., a denial of service, not code execution or data exposure. That high base score is tempered by a very low EPSS of 0.02% (4th percentile), no CISA KEV listing, and no known public exploit, indicating little real-world exploitation pressure. Realistic priority is moderate-to-low and is gated by whether a given application feeds attacker-supplied archives into Archive::Tar; the 'AV:N' rating presumes that reachability. Note a data conflict: the intelligence Tags label this 'Information Disclosure,' which contradicts the CVSS vector (C:N/I:N/A:H) and CWE-789 - the impact is memory exhaustion/availability, so the tag appears mislabeled and should not be relied upon. Additionally, the source description text is garbled and conflates three separate Archive::Tar advisories (symlink extraction, hardlink CVE-2026-42497, and this memory-exhaustion issue); this analysis is scoped to CVE-2026-9538 only. |
| Exploit ScenarioDerived | An attacker crafts a tar archive containing an entry whose header size field declares an enormous value and uploads or submits it to a service that parses tarballs with Archive::Tar (for example a file-upload, backup, or package-processing endpoint). When the module reads the archive it attempts to allocate based on the declared size, exhausting available memory and crashing or hanging the process. No public proof-of-concept is identified at time of analysis, and exploitation requires no authentication or user interaction given the low-complexity network vector. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 27, 2026
Memory exhaustion in the Perl Archive::Tar module before version 3.10 lets remote attackers cause a denial of service by supplying a crafted tar archive whose per-entry header declares an arbitrarily large size, which the module trusts and uses to drive allocation before reading. The flaw is unauthenticated and network-reachable (CVSS 7.5, A:H only - no confidentiality or integrity impact) but affects only applications that parse untrusted tarballs with this module. There is no public exploit identified at time of analysis and EPSS is very low (0.02%, 4th percentile); the vendor shipped a fix in 3.10.
RemediationAI
Vendor-released patch: 3.10 - upgrade Archive::Tar to 3.10 or later (or apply your distribution's backported package; Debian tracks the relevant releases). The 3.10 release enforces a default 1 GiB cap via $Archive::Tar::MAX_FILE_SIZE, which can be lowered to tighten the bound for memory-constrained services or set to 0 to disable the cap (not recommended). Where immediate upgrade is not possible, apply application-level compensating controls: avoid feeding untrusted tar archives to Archive::Tar, validate or reject oversized declared sizes before extraction, and constrain the worker process memory (e.g., per-process RLIMIT_AS / ulimit -v or container memory limits) so a single malicious archive crashes only the worker rather than the host - the trade-off being that legitimate large archives may also be rejected under tight limits. Refer to the advisory at https://www.openwall.com/lists/oss-security/2026/05/26 and the changelog at https://metacpan.org/release/BINGOS/Archive-Tar-3.10/changes.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Archive::Tar is a widely deployed pure-Perl library (CPAN distribution maintained by BINGOS) for reading, writing, and extracting tar archives, identified by CPE cpe:2.3:a:archive::tar_project:archive::tar on the Perl platform. The root cause is CWE-789 (Memory Allocation with Excessive Size Value): the per-entry size field in a tar header is fully attacker-controlled, and versions before 3.10 trusted that declared value during _read_tar without any upper bound. The fix in commit f9af014 introduces a new $Archive::Tar::MAX_FILE_SIZE variable defaulting to 1 GiB and, in _read_tar, refuses entries whose declared size exceeds it ('refusing to allocate', next LOOP) before any read allocation occurs - confirming that the pre-3.10 behavior allocated according to the unvalidated header size.
Know when Archive gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3Description PRE-NVD
Executive ViewAI
Perl Archive::Tar module versions before 3.10 contain a memory exhaustion vulnerability allowing remote unauthenticated attackers to cause denial of service against applications that process untrusted tar archives. This impacts service availability for any organization running applications dependent on this widely-used library. Exploitation risk is minimal, with no public exploit identified and very low real-world exploit probability (EPSS 0.02%).
Apply vendor patch. If immediate patching cannot be deployed, restrict Archive::Tar processing to trusted archive sources and implement strict validation of archive metadata prior to processing.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
An issue in Archive v3.3.7 allows attackers to execute a path traversal via extracting a crafted zip file. Rated high se
An issue in Archive v3.3.7 allows attackers to spoof zip filenames which can lead to inconsistent filename parsing. Rate
In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha
Symlink-based path traversal in the Perl module Archive::Tar before version 3.08 allows a malicious tar archive to write
Arbitrary file modification in the Perl Archive::Tar module before version 3.08 allows a malicious tar archive to create
Same technique Information Disclosure
View allVendor StatusVendor
Debian
| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| bullseye | vulnerable | 5.32.1-4+deb11u3 | - |
| bullseye (security) | vulnerable | 5.32.1-4+deb11u5 | - |
| bookworm | vulnerable | 5.36.0-7+deb12u3 | - |
| bookworm (security) | vulnerable | 5.36.0-7+deb12u2 | - |
| trixie | vulnerable | 5.40.1-6 | - |
| forky, sid | vulnerable | 5.40.1-7 | - |
| (unstable) | fixed | (unfixed) | - |
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Liberty Linux 10 | Fixed |
| SUSE Liberty Linux 8 | Fixed |
| SUSE Liberty Linux 9 | Fixed |
EUVD-2026-31775
NVD
CVE.org
EPSS
VulDB
Exploit-DB