{"id":"CVE-2026-9538","state":"PUBLISHED","title":"Archive::Tar versions before 3.10 for Perl allow memory exhaustion via attacker controlled entry size field in tar header","description":"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.","publishedAt":"2026-05-26T00:18:43.704Z","updatedAt":"2026-05-28T13:16:08.447Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"CISA-ADP"},"assigner":"CPANSec","products":["BINGOS Archive::Tar"],"affected":[{"vendor":"BINGOS","product":"Archive::Tar","packageName":"Archive-Tar","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.10","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/Archive/Tar.pm"],"programRoutines":[{"name":"Archive::Tar::_read_tar"}],"repo":"https://github.com/jib/archive-tar-new"}],"references":["https://github.com/jib/archive-tar-new/commit/f9af01426038e29d9578825a0cd3626946ab08c7.patch","https://metacpan.org/release/BINGOS/Archive-Tar-3.10/changes","http://www.openwall.com/lists/oss-security/2026/05/26/4"],"weaknesses":["CWE-789"],"ingestedAt":"2026-10-29T20:13:52.441Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/9xxx/CVE-2026-9538.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-9538","state":"PUBLISHED","datePublished":"2026-05-26T00:18:43.704Z","dateUpdated":"2026-05-28T13:16:08.447Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-05-25T23:04:04.116Z"},"containers":{"cna":{"title":"Archive::Tar versions before 3.10 for Perl allow memory exhaustion via attacker controlled entry size field in tar header","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"BINGOS","product":"Archive::Tar","packageName":"Archive-Tar","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.10","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/Archive/Tar.pm"],"programRoutines":[{"name":"Archive::Tar::_read_tar"}],"repo":"https://github.com/jib/archive-tar-new"}],"references":[{"url":"https://github.com/jib/archive-tar-new/commit/f9af01426038e29d9578825a0cd3626946ab08c7.patch","tags":["patch"]},{"url":"https://metacpan.org/release/BINGOS/Archive-Tar-3.10/changes","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-789","description":"CWE-789 Memory Allocation with Excessive Size Value","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-05-26T00:18:43.704Z"},"solutions":[{"lang":"en","value":"Upgrade to Archive::Tar 3.10 or later."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-05-25T00:00:00.000Z","value":"Issue reported."},{"lang":"en","time":"2026-05-25T00:00:00.000Z","value":"Version 3.10 released."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/05/26/4"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-05-26T03:06:03.290Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-05-28T13:16:04.042321Z","id":"CVE-2026-9538","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-28T13:16:08.447Z"}}]}}}