CVE-2026-9538
CVE-2026-9538 · Archive::Tar versions before 3.10 for Perl allow memory exhaustion via attacker controlled entry size field in tar header
CVSS 7.5 · High · EPSS 0.5% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- archive::tarUpdate to 3.10
- perl Alpine 3.24Update to 5.42.3-r0
- perl Debian 12No fix published
- perl Debian 13No fix published
- and 10 more
Check the installed version:
apk list -I -o perldpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="perl"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- USN-8684-1 · Ubuntu 24.04 LTS ·
- RLSA-2026:49523 · Rocky Linux 10 ·
- RLSA-2026:49525 · Rocky Linux 9 ·
- RLSA-2026:49524 · Rocky Linux 8 ·
- RHSA-2026:49525 · Red Hat Enterprise Linux 9 appstream ·
- RHSA-2026:49523 · Red Hat Enterprise Linux 10.2 ·
- RHSA-2026:49524 · Red Hat Enterprise Linux 8 baseos ·
- ALSA-2026:49523 · AlmaLinux 10 ·
- ALSA-2026:49524 · AlmaLinux 8 ·
- ALSA-2026:49525 · AlmaLinux 9 ·
- RHSA-2026:48225 · Red Hat Enterprise Linux 8 appstream ·
- RLSA-2026:48225 · Rocky Linux 8 ·
- ALSA-2026:48225 · AlmaLinux 8 ·
Stack: system
Affected products and versions
archive::tar
- Versions
- ≥ 0, < 3.10: Affected (custom)
Update to 3.10
perl Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 5.42.3-r0
Update to 5.42.3-r0
perl Debian 12
- Versions
- 5.36.0-10
- 5.36.0-7
- 5.36.0-7+deb12u1
- 5.36.0-7+deb12u2
- 5.36.0-7+deb12u3
- 5.36.0-8
All versions (43)
- 5.36.0-9
- 5.38.0-1
- 5.38.0-2
- 5.38.0~rc2-1
- 5.38.2-1
- 5.38.2-2
- 5.38.2-3
- 5.38.2-3.1
- 5.38.2-3.2
- 5.38.2-3.2+hurd.1
- 5.38.2-4
- 5.38.2-5
- 5.40.0-1
- 5.40.0-2
- 5.40.0-3
- 5.40.0-4
- 5.40.0-5
- 5.40.0-6
- 5.40.0-7
- 5.40.0-8
- 5.40.0~rc1-1
- 5.40.1-1
- 5.40.1-2
- 5.40.1-3
- 5.40.1-4
- 5.40.1-5
- 5.40.1-6
- 5.40.1-7
- 5.40.1-8
- 5.42.0-1
- 5.42.0-2
- 5.42.0-3
- 5.42.2-1
- 5.42.2-2
- 5.42.2-3
- 5.42.3-1
- 5.44.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
perl Debian 13
- Versions
- 5.40.1-6
- 5.40.1-6+deb13u1
- 5.40.1-7
- 5.40.1-8
- 5.42.0-1
- 5.42.0-2
All versions (12)
- 5.42.0-3
- 5.42.2-1
- 5.42.2-2
- 5.42.2-3
- 5.42.3-1
- 5.44.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
perl Debian 14
- Versions
- 5.40.1-6
- 5.40.1-7
- 5.40.1-8
- 5.42.0-1
- 5.42.0-2
- 5.42.0-3
All versions (9)
- 5.42.2-1
- 5.42.2-2
- 5.42.2-3
- Affected ranges
- ECOSYSTEM: < 5.42.3-1
Update to 5.42.3-1
perl Ubuntu Pro 14.04 LTS
- Versions
- 5.14.2-21build1
- 5.18.1-4
- 5.18.1-4build1
- 5.18.1-5
- 5.18.2-2
- 5.18.2-2ubuntu1
All versions (18)
- 5.18.2-2ubuntu1.1
- 5.18.2-2ubuntu1.3
- 5.18.2-2ubuntu1.4
- 5.18.2-2ubuntu1.6
- 5.18.2-2ubuntu1.7
- 5.18.2-2ubuntu1.7+esm3
- 5.18.2-2ubuntu1.7+esm4
- 5.18.2-2ubuntu1.7+esm5
- 5.18.2-2ubuntu1.7+esm7
- 5.18.2-2ubuntu1.7+esm8
- 5.18.2-2ubuntu1.7+esm9
- 5.18.2-2ubuntu1.7+esm10
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
perl Ubuntu Pro 16.04 LTS
- Versions
- 5.20.2-6
- 5.22.1-3
- 5.22.1-4
- 5.22.1-5
- 5.22.1-7
- 5.22.1-8
All versions (17)
- 5.22.1-9
- 5.22.1-9ubuntu0.2
- 5.22.1-9ubuntu0.3
- 5.22.1-9ubuntu0.5
- 5.22.1-9ubuntu0.6
- 5.22.1-9ubuntu0.9
- 5.22.1-9ubuntu0.9+esm1
- 5.22.1-9ubuntu0.9+esm2
- 5.22.1-9ubuntu0.9+esm3
- 5.22.1-9ubuntu0.9+esm4
- 5.22.1-9ubuntu0.9+esm5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
perl Ubuntu Pro 18.04 LTS
- Versions
- 5.26.0-8ubuntu1
- 5.26.1-2ubuntu1
- 5.26.1-3
- 5.26.1-4
- 5.26.1-4build1
- 5.26.1-5
All versions (17)
- 5.26.1-6
- 5.26.1-6ubuntu0.1
- 5.26.1-6ubuntu0.2
- 5.26.1-6ubuntu0.3
- 5.26.1-6ubuntu0.5
- 5.26.1-6ubuntu0.6
- 5.26.1-6ubuntu0.7
- 5.26.1-6ubuntu0.7+esm2
- 5.26.1-6ubuntu0.7+esm3
- 5.26.1-6ubuntu0.7+esm4
- 5.26.1-6ubuntu0.7+esm5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
perl Ubuntu Pro 20.04 LTS
- Versions
- 5.28.1-6build1
- 5.30.0-7
- 5.30.0-9
- 5.30.0-9build1
- 5.30.0-9ubuntu0.2
- 5.30.0-9ubuntu0.3
All versions (12)
- 5.30.0-9ubuntu0.4
- 5.30.0-9ubuntu0.5
- 5.30.0-9ubuntu0.5+esm2
- 5.30.0-9ubuntu0.5+esm3
- 5.30.0-9ubuntu0.5+esm4
- 5.30.0-9ubuntu0.5+esm5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
perl Ubuntu 22.04 LTS
- Versions
- 5.32.1-3ubuntu3
- 5.34.0-3ubuntu1
- 5.34.0-3ubuntu1.1
- 5.34.0-3ubuntu1.2
- 5.34.0-3ubuntu1.3
- 5.34.0-3ubuntu1.4
All versions (11)
- 5.34.0-3ubuntu1.5
- 5.34.0-3ubuntu1.7
- 5.34.0-3ubuntu1.8
- 5.34.0-3ubuntu1.9
- 5.34.0-3ubuntu1.10
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
perl Ubuntu 24.04 LTS
- Versions
- 5.36.0-9ubuntu1
- 5.36.0-10ubuntu1
- 5.38.2-3
- 5.38.2-3.2
- 5.38.2-3.2build1
- 5.38.2-3.2build2
All versions (10)
- 5.38.2-3.2build2.1
- 5.38.2-3.2ubuntu0.1
- 5.38.2-3.2ubuntu0.2
- 5.38.2-3.2ubuntu0.3
- Affected ranges
- ECOSYSTEM: < 5.38.2-3.2ubuntu0.4
Update to 5.38.2-3.2ubuntu0.4
perl Ubuntu 25.10
- Versions
- 5.40.1-2
- 5.40.1-3
- 5.40.1-5
- 5.40.1-6
- 5.40.1-6build1
- 5.40.1-6ubuntu0.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
perl Ubuntu 26.10
- Versions
- 5.40.1-7build1
- 5.40.1-8
- 5.40.1-8ubuntu1
- 5.42.3-1
- 5.42.3-1ubuntu0.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
perl Ubuntu 26.04 LTS
- Versions
- 5.40.1-6build1
- 5.40.1-7build1
- 5.40.1-7ubuntu0.1
- 5.40.1-7ubuntu0.2
- 5.40.1-7ubuntu0.3
- 5.40.1-7ubuntu0.4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published