CVE-2026-9538

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:archive\:\:tar_project:archive\:\:tar:*:*:*:*:*:perl:*:*

History

23 Jul 2026, 11:10

Type Values Removed Values Added
Summary
  • (es) Las versiones de Archive::Tar anteriores a la 3.10 para Perl permiten el agotamiento de la memoria a través de un campo de tamaño de entrada controlado por el atacante en la cabecera tar. _read_tar() lee la carga útil de cada entrada con $handle->read($$data, $block), donde $block se deriva del campo de tamaño de 12 bytes de la entrada en la cabecera tar sin un límite superior para ese valor. Una cabecera manipulada que declara un tamaño de varios gigabytes hace que Perl asigne un escalar de ese tamaño.

27 May 2026, 17:24

Type Values Removed Values Added
CPE cpe:2.3:a:archive\:\:tar_project:archive\:\:tar:*:*:*:*:*:perl:*:*
References () https://github.com/jib/archive-tar-new/commit/f9af01426038e29d9578825a0cd3626946ab08c7.patch - () https://github.com/jib/archive-tar-new/commit/f9af01426038e29d9578825a0cd3626946ab08c7.patch - Patch
References () https://metacpan.org/release/BINGOS/Archive-Tar-3.10/changes - () https://metacpan.org/release/BINGOS/Archive-Tar-3.10/changes - Release Notes
References () http://www.openwall.com/lists/oss-security/2026/05/26/4 - () http://www.openwall.com/lists/oss-security/2026/05/26/4 - Mailing List, Third Party Advisory
First Time Archive\ \
Archive\
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5

26 May 2026, 04:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-26 02:16

Updated : 2026-07-23 11:10


NVD link : CVE-2026-9538

Mitre link : CVE-2026-9538

CVE.ORG link : CVE-2026-9538


JSON object : View

Products Affected

archive\

  • \
CWE
CWE-789

Memory Allocation with Excessive Size Value