Perl vulnerabilities
Published: Thu, 02 Jul 2026 06:15
Summary
Several security issues were fixed in Perl.
Details
USN-8467-1 fixed vulnerabilities in Perl. This update provides the corresponding fix for Perl on Ubuntu 25.10. Original advisory details: It was discovered that Perl's Archive::Tar module incorrectly handled symlink and hardlink targets during extraction. An attacker could use this issue to read or overwrite arbitrary files outside the extraction directory. (CVE-2026-42496) It was discovered that Perl had a heap buffer overflow when compiling regular expressions with a repeated fixed string on 32-bit builds. An attacker could use this issue to cause a denial of service or possibly execute arbitrary code. (CVE-2026-8376)
Recommended actions per Ubuntu release
StackPatch playbook auto-generated per release codename and per affected package.
Ubuntu questing
perl→5.40.1-6ubuntu0.1apt_upgradeStandard apt upgrade. Install 5.40.1-6ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y perl
Most apt upgrades restart their service automatically. needrestart lists anything else.
libperl-dev→5.40.1-6ubuntu0.1apt_upgradeStandard apt upgrade. Install 5.40.1-6ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libperl-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
libperl5.40→5.40.1-6ubuntu0.1apt_upgradeStandard apt upgrade. Install 5.40.1-6ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libperl5.40
Most apt upgrades restart their service automatically. needrestart lists anything else.
perl→5.40.1-6ubuntu0.1apt_upgradeStandard apt upgrade. Install 5.40.1-6ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y perl
Most apt upgrades restart their service automatically. needrestart lists anything else.
perl-base→5.40.1-6ubuntu0.1apt_upgradeStandard apt upgrade. Install 5.40.1-6ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y perl-base
Most apt upgrades restart their service automatically. needrestart lists anything else.
perl-debug→5.40.1-6ubuntu0.1apt_upgradeStandard apt upgrade. Install 5.40.1-6ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y perl-debug
Most apt upgrades restart their service automatically. needrestart lists anything else.
perl-doc→5.40.1-6ubuntu0.1apt_upgradeStandard apt upgrade. Install 5.40.1-6ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y perl-doc
Most apt upgrades restart their service automatically. needrestart lists anything else.
perl-modules-5.40→5.40.1-6ubuntu0.1apt_upgradeStandard apt upgrade. Install 5.40.1-6ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y perl-modules-5.40
Most apt upgrades restart their service automatically. needrestart lists anything else.
Are YOU affected by USN-8467-2?
5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether USN-8467-2 (and any other live CVE) applies. Anonymous, no signup.
curl https://mindsparkstack.com/scan.sh | bash
StackPatch runs this match against YOUR installed packages every hour
Free (3 servers) / from $9/mo (14-day free trial) / Solo $9/mo / Pro $29/mo / Team $79/mo. Indie pricing.