cve.bz

CVE-2026-9538 archive\ \

7.5 highEPSS 0.5%Fix available

High (7.5) in archive\ \. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-05-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-789 Memory Allocation with Excessive Size Value
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-9538 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-9538?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-9538?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-9538 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • archive\:\

Versions

From the CNA's record in the CVE List.

ProductAffected
BINGOS Archive::Tarbefore 3.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13perlno fix listedDEBIAN-CVE-2026-9538
Debian14perl5.42.3-1DEBIAN-CVE-2026-9538
Ubuntu22.04:LTS, 25.10, 26.04:LTS and 5 moreperlno fix listedUBUNTU-CVE-2026-9538
Ubuntu24.04:LTSperl5.38.2-3.2ubuntu0.4UBUNTU-CVE-2026-9538 USN-8684-1
Red Hatenterprise_linux:8::appstreamperl, perl-libs, perl-devel and 7 more4:5.32.1-474.module+el8.10.0+24099+8aa2f756RHSA-2026:48225
Red Hatenterprise_linux:8::appstreamperl-Algorithm-Diff0:1.1903-10.module+el8.10.0+21354+3ad137bbRHSA-2026:48225
Red Hatenterprise_linux:8::appstreamperl-Archive-Tar0:2.38-5.module+el8.10.0+24544+66a14188RHSA-2026:48225
Red Hatenterprise_linux:8::appstreamperl-Archive-Zip0:1.68-3.module+el8.10.0+21354+3ad137bbRHSA-2026:48225
Red Hatenterprise_linux:8::appstreamperl-Attribute-Handlers0:1.01-474.module+el8.10.0+24099+8aa2f756RHSA-2026:48225
Red Hatenterprise_linux:8::appstreamperl-AutoSplit, perl-AutoLoader0:5.74-474.module+el8.10.0+24099+8aa2f756RHSA-2026:48225
Red Hatenterprise_linux:8::appstreamperl-B, perl-B-debuginfo0:1.80-474.module+el8.10.0+24099+8aa2f756RHSA-2026:48225
Red Hatenterprise_linux:8::appstreamperl-CPAN0:2.28-5.module+el8.10.0+21354+3ad137bbRHSA-2026:48225
Red Hatenterprise_linux:8::appstreamperl-CPAN-DistnameInfo0:0.12-13.module+el8.10.0+21354+3ad137bbRHSA-2026:48225
Red Hatenterprise_linux:8::appstreamperl-CPAN-Meta0:2.150010-397.module+el8.10.0+21354+3ad137bbRHSA-2026:48225
Red Hatenterprise_linux:8::appstreamperl-CPAN-Meta-Requirements0:2.140-397.module+el8.10.0+21354+3ad137bbRHSA-2026:48225
Red Hatenterprise_linux:8::appstreamperl-CPAN-Meta-YAML0:0.018-1001.module+el8.10.0+21354+3ad137bbRHSA-2026:48225
172 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8perl-Algorithm-Diff1.1903-10.module_el8.6.0+2766+8bf0b7ceALSA-2026:48225
AlmaLinux8perl-Archive-Tar2.30-3.el8_10ALSA-2026:49524
AlmaLinux8perl-Archive-Tar2.38-5.module_el8.10.0+4240+a58b978cALSA-2026:48225
AlmaLinux8perl-Archive-Zip1.68-3.module_el8.6.0+2766+8bf0b7ceALSA-2026:48225
AlmaLinux8perl-Attribute-Handlers1.01-474.module_el8.10.0+4162+0aac7c4cALSA-2026:48225
AlmaLinux8perl-B1.80-474.module_el8.10.0+4162+0aac7c4cALSA-2026:48225
AlmaLinux8perl-B1.80-474.module_el8.10.0+4240+a58b978cALSA-2026:48225
AlmaLinux8perl-CPAN2.28-5.module_el8.6.0+2766+8bf0b7ceALSA-2026:48225
AlmaLinux8perl-CPAN-DistnameInfo0.12-13.module_el8.6.0+2766+8bf0b7ceALSA-2026:48225
AlmaLinux8perl-CPAN-Meta2.150010-397.module_el8.6.0+2766+8bf0b7ceALSA-2026:48225
AlmaLinux8perl-CPAN-Meta-Requirements2.140-397.module_el8.6.0+2766+8bf0b7ceALSA-2026:48225
AlmaLinux8perl-CPAN-Meta-YAML0.018-1001.module_el8.6.0+2766+8bf0b7ceALSA-2026:48225
100 more for AlmaLinux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This Important flaw in perl-Archive-Tar allows a Denial of Service via memory exhaustion when processing specially crafted tar archives. The Archive::Tar module's _read_tar() method reads entry payload sizes from the tar header without enforcing an upper bound, allowing an attacker to craft a tar archive whose header declares a multi-gigabyte entry size, causing immediate large memory allocation. Applications or scripts that process untrusted tar files using Archive::Tar are vulnerable to resource exhaustion.

Red Hat's mitigation

To mitigate this issue, avoid processing untrusted tar archives with applications using Perl's Archive::Tar module. If untrusted tar processing is required, consider imposing resource limits (e.g., ulimit) on the processes handling tar files to contain memory exhaustion and prevent wider system impact.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10perl-Archive-Tar-0:3.02-512.el10_2.2Fixed 2026-08-03RHSA-2026:49523
Red Hat Enterprise Linux 8perl:5.32-8100020260723094404.651ee29fFixed 2026-07-30RHSA-2026:48225
Red Hat Enterprise Linux 8perl-Archive-Tar-0:2.30-3.el8_10Fixed 2026-08-03RHSA-2026:49524
Red Hat Enterprise Linux 9perl-Archive-Tar-0:2.38-6.el9_8.2Fixed 2026-08-03RHSA-2026:49525
Red Hat Enterprise Linux 7perl-Archive-TarAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-9538.

References

Check your stackJSON