CPANSA-Archive-Tar-2026-9538: Archive-Tar vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-05-26T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-05-26T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 7.5 | Severity | |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability Description
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.
Vulnerabilities
CVE-2026-9538
Vulnerability DescriptionArchive::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.
| Weakness | CWE-789 : Memory Allocation with Excessive Size Value |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Archive-Tar less than 3.10 |
|
Fixed
- Archive-Tar greater than or equal 3.10
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Archive-Tar-2026-9538 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-archive-tar-2026-9538.json - https://github.com/jib/archive-tar-new/commit/f9af01426038e29d9578825a0cd3626946ab08c7.patch external
https://github.com/jib/archive-tar-new/commit/f9af01426038e29d9578825a0cd3626946ab08c7.patch - https://metacpan.org/release/BINGOS/Archive-Tar-3.10/changes external
https://metacpan.org/release/BINGOS/Archive-Tar-3.10/changes - http://www.openwall.com/lists/oss-security/2026/05/26/4 external
http://www.openwall.com/lists/oss-security/2026/05/26/4 - CVE-2026-9538 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-9538
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Tue May 26 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/