# CVE-2026-9538: Archive::Tar versions before 3.10 for Perl allow memory exhaustion via attacker controlled entry size field in tar header

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-05-26T00:18:43.704Z
- Modified: 2026-07-23T11:10:00.120Z
- Weaknesses: CWE-789
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- Archive-Tar: before 3.10
- archive::tar_project archive::tar: before 3.10

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <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)

## Sources

- CVE List: [CVE-2026-9538](https://www.cve.org/CVERecord?id=CVE-2026-9538), CVE Terms of Use, modified 2026-05-28
- NVD: [CVE-2026-9538](https://nvd.nist.gov/vuln/detail/CVE-2026-9538), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-9538 · Whole record: https://cve.day/CVE-2026-9538.json · Rebuilt by cve.day 2026-11-25T22:59:22.306Z
