Skip to main content

Archive::Tar CVE-2026-9538

| EUVDEUVD-2026-31775 HIGH
Memory Allocation with Excessive Size Value (CWE-789)
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft tar with oversized size field
  2. Exploit
    Submit archive to Archive::Tar parser
  3. Execution
    Module allocates per declared header size
  4. Impact
    Memory 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Archive::Tar 0 <3.10

Affected Packages

euvd archive_tar fix: 3.10

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

NVD PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
May 27, 2026 - 19:37 NVD
7.5 (HIGH)
Patch available
May 26, 2026 - 03:01 EUVD
CVE Published
May 26, 2026 - 00:45 nvd
UNKNOWN (no severity yet)

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

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%).

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 96% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

Debian

perl
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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy