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.
References
| Link | Resource |
|---|---|
| https://github.com/jib/archive-tar-new/commit/f9af01426038e29d9578825a0cd3626946ab08c7.patch | Patch |
| https://metacpan.org/release/BINGOS/Archive-Tar-3.10/changes | Release Notes |
| http://www.openwall.com/lists/oss-security/2026/05/26/4 | Mailing List Third Party Advisory |
Configurations
History
27 May 2026, 17:24
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
| CPE | cpe:2.3:a:archive\:\:tar_project:archive\:\:tar:*:*:*:*:*:perl:*:* | |
| References | () https://github.com/jib/archive-tar-new/commit/f9af01426038e29d9578825a0cd3626946ab08c7.patch - Patch | |
| References | () https://metacpan.org/release/BINGOS/Archive-Tar-3.10/changes - Release Notes | |
| References | () http://www.openwall.com/lists/oss-security/2026/05/26/4 - Mailing List, Third Party Advisory | |
| First Time |
Archive\ \
Archive\ |
26 May 2026, 04:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-26 02:16
Updated : 2026-05-28 14:16
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
