{ "document": { "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "description", "text": "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.", "title": "Vulnerability Description" } ], "publisher": { "category": "other", "contact_details": "gdt@cpan.org", "name": "giterlizzi", "namespace": "https://github.com/giterlizzi/" }, "references": [ { "category": "self", "summary": "CPANSA-Archive-Tar-2026-9538 JSON", "url": "https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-archive-tar-2026-9538.json" }, { "category": "external", "summary": "https://github.com/jib/archive-tar-new/commit/f9af01426038e29d9578825a0cd3626946ab08c7.patch", "url": "https://github.com/jib/archive-tar-new/commit/f9af01426038e29d9578825a0cd3626946ab08c7.patch" }, { "category": "external", "summary": "https://metacpan.org/release/BINGOS/Archive-Tar-3.10/changes", "url": "https://metacpan.org/release/BINGOS/Archive-Tar-3.10/changes" }, { "category": "external", "summary": "http://www.openwall.com/lists/oss-security/2026/05/26/4", "url": "http://www.openwall.com/lists/oss-security/2026/05/26/4" }, { "category": "external", "summary": "CVE-2026-9538 (NVD)", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-9538" } ], "title": "Archive-Tar vulnerability", "tracking": { "current_release_date": "2026-05-26T00:00:00", "generator": { "engine": { "name": "CSAF Perl Toolkit", "version": "0.26" } }, "id": "CPANSA-Archive-Tar-2026-9538", "initial_release_date": "2026-05-26T00:00:00", "revision_history": [ { "date": "2026-05-26T00:00:00", "number": "1", "summary": "First release" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "category": "product_version_range", "name": "vers:cpan/<3.10", "product": { "name": "Archive-Tar less than 3.10", "product_id": "CSAFPID-0001", "product_identification_helper": { "purl": "pkg:cpan/Archive-Tar" } } }, { "category": "product_version_range", "name": "vers:cpan/>=3.10", "product": { "name": "Archive-Tar greater than or equal 3.10", "product_id": "CSAFPID-0002", "product_identification_helper": { "purl": "pkg:cpan/Archive-Tar" } } } ], "category": "product_name", "name": "Archive-Tar" } ] }, "vulnerabilities": [ { "cve": "CVE-2026-9538", "cwe": { "id": "CWE-789", "name": "Memory Allocation with Excessive Size Value" }, "notes": [ { "category": "description", "text": "Archive::Tar versions before 3.10 for Perl allow memory exhaustion via attacker controlled entry size field in tar header.\n\n_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.\n\nA crafted header declaring a multi-gigabyte size causes Perl to allocate a scalar of that size.", "title": "Vulnerability Description" } ], "product_status": { "fixed": [ "CSAFPID-0002" ], "known_affected": [ "CSAFPID-0001" ] }, "scores": [ { "cvss_v3": { "baseScore": 7.5, "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" }, "products": [ "CSAFPID-0001" ] } ] } ] }