CVE Explorer
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"Archive-Tar","product":"Archive::Tar","programFiles":["lib/Archive/Tar.pm"],"programRoutines":[{"name":"Archive::Tar::_read_tar"}],"repo":"https://github.com/jib/archive-tar-new","vendor":"BINGOS","versions":[{"lessThan":"3.10","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:403ec2b7e72fa7a3d6ce3f5a87b5375b53fe841f779d2362cbd628231332d2a1 · sha256:db79967e7eb5596e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:403ec2b7e72fa7a3d6ce3f5a87b5375b53fe841f779d2362cbd628231332d2a1 · sha256:db79967e7eb5596e… · /containers/adp/1/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-789","description":"CWE-789 Memory Allocation with Excessive Size Value","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:403ec2b7e72fa7a3d6ce3f5a87b5375b53fe841f779d2362cbd628231332d2a1 · sha256:db79967e7eb5596e… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"url":"http://www.openwall.com/lists/oss-security/2026/05/26/4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:403ec2b7e72fa7a3d6ce3f5a87b5375b53fe841f779d2362cbd628231332d2a1 · sha256:db79967e7eb5596e… · /containers/adp/0/references/0
{"tags":["patch"],"url":"https://github.com/jib/archive-tar-new/commit/f9af01426038e29d9578825a0cd3626946ab08c7.patch"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:403ec2b7e72fa7a3d6ce3f5a87b5375b53fe841f779d2362cbd628231332d2a1 · sha256:db79967e7eb5596e… · /containers/cna/references/0
{"tags":["release-notes"],"url":"https://metacpan.org/release/BINGOS/Archive-Tar-3.10/changes"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:403ec2b7e72fa7a3d6ce3f5a87b5375b53fe841f779d2362cbd628231332d2a1 · sha256:db79967e7eb5596e… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.