Allocation of Resources Without Limits or Throttling Affecting perl-Archive-Tar-tests package, versions <0:3.04-522.amzn2023.0.3


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.45% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-PERLARCHIVETARTESTS-17291031
  • published10 Jun 2026
  • disclosed26 May 2026

Introduced: 26 May 2026

CVE-2026-9538  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 perl-Archive-Tar-tests to version 0:3.04-522.amzn2023.0.3 or higher.
This issue was patched in ALAS2023-2026-1805.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-Archive-Tar-tests package and not the perl-Archive-Tar-tests package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1