| Name | CVE-2026-9538 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1138861 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| perl (PTS) | bullseye | 5.32.1-4+deb11u3 | vulnerable |
| bullseye (security) | 5.32.1-4+deb11u5 | vulnerable | |
| bookworm | 5.36.0-7+deb12u3 | vulnerable | |
| bookworm (security) | 5.36.0-7+deb12u2 | vulnerable | |
| trixie | 5.40.1-6 | vulnerable | |
| forky, sid | 5.42.2-3 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| perl | source | experimental | 5.44.0-1 | |||
| perl | source | (unstable) | (unfixed) | 1138861 |
[trixie] - perl <postponed> (Minor issue; wait for regressions upstream sorted out)
[bookworm] - perl <postponed> (Minor issue; wait for regressions upstream sorted out)
https://lists.security.metacpan.org/cve-announce/msg/40396448/
https://github.com/jib/archive-tar-new/commit/f9af01426038e29d9578825a0cd3626946ab08c7 (3.10)