Live Active security incident? Get immediate response
CVE Record

CVE-2026-9538: Archive::Tar versions before 3.10 for Perl allow memory exhaustion via attacker controlled entry size field in tar header

Archive::Tar versions before 3.10 for Perl allow memory exhaustion via attacker controlled entry size field in tar header. _read_tar() reads each entry's payload with $handle->read($$data, $block), where $block is derived from the entry's 12-byte size field in the tar header with no upper bound on that value. A crafted header declaring a multi-gigabyte size causes Perl to allocate a scalar of that size.

UnknownCVSS not scoredNot KEV-listed Updated
Glexia's Take moderate

Analyst readout for executives and security teams

Plain-English summary

A malformed tar archive can make vulnerable Perl Archive::Tar versions allocate excessive memory while reading an entry. The practical impact is denial of service: a process that accepts or scans untrusted tar files may run out of memory or crash.

Executive priority

Treat as a targeted denial-of-service risk. It is not shown as actively exploited, but externally supplied archive processing should be patched promptly because failures may affect availability.

Technical view

Archive::Tar before 3.10 derives an entry read size from the tar header size field without an upper bound. In _read_tar(), that value reaches a read into a Perl scalar, allowing attacker-controlled oversized allocation. This maps to CWE-789: uncontrolled memory allocation.

Likely exposure

Exposure is most likely in Perl applications, automation, package-processing jobs, or security scanners that use Archive::Tar to process tar archives from users, partners, CI artifacts, or other untrusted sources.

Exploitation context

The bundle does not show KEV listing, CVSS scoring, or confirmed active exploitation. Exploitation would require the target to parse a crafted tar archive with a vulnerable Archive::Tar version.

Researcher notes

The source bundle identifies the vulnerable behavior and a 3.10 release/patch reference, but provides no CVSS vector, affected CPEs, exploit telemetry, or distribution-specific fixed package data.

Mitigation direction

  • Upgrade Archive::Tar or Archive-Tar to version 3.10 or later.
  • Prioritize systems that process untrusted tar archives automatically.
  • Apply memory limits around archive-processing workers where practical.
  • Check vendor or distribution advisories for backported fixes.

Validation and detection

  • Inventory Perl dependencies for Archive::Tar or Archive-Tar versions before 3.10.
  • Identify services and jobs that parse tar archives from untrusted sources.
  • Confirm upgraded hosts load the fixed module version.
  • Review logs for archive-processing crashes or memory exhaustion events.
Prepared
Confidence
high
Sources
5

Based on public source material and reviewed before publication.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-789: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-9538 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profile CVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0 CVSS vectors
5 Timeline events
1 ADP providers
4 Source links

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. Source timeline CPANSec

    Issue reported.

  2. Source timeline CPANSec

    Version 3.10 released.

  3. CVE reserved CVE Program

    The CVE ID was reserved by the assigning CNA.

  4. CVE published CVE Program

    The CVE record was published.

  5. CVE updated CVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CVE CVE Program Container
Affected products

Products and packages named in the record

Vendor Product Version / package Status
BINGOS Archive::Tar Archive-Tar, 0 unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-789 · source CWE mapping

Memory Allocation with Excessive Size Value

Memory Allocation with Excessive Size Value represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.