Crypt-SaltedHash vulnerability
Published: Wed, 10 Jun 2026 08:58
Summary
Crypt-SaltedHash incorrectly generated random numbers.
Details
It was discovered that Crypt-SaltedHash incorrectly generated salts using a cryptographically weak pseudo-random number generator. An attacker could possibly use this issue to predict generated salts, leading to a weakening of cryptographic protections.
Recommended actions per Ubuntu release
StackPatch playbook auto-generated per release codename and per affected package.
Ubuntu bionic
libcrypt-saltedhash-perl→0.09-1ubuntu0.18.04.1~esm1apt_upgrade_esmFixed at 0.09-1ubuntu0.18.04.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libcrypt-saltedhash-perl=0.09-1ubuntu0.18.04.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libcrypt-saltedhash-perl→0.09-1ubuntu0.18.04.1~esm1apt_upgrade_esmFixed at 0.09-1ubuntu0.18.04.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libcrypt-saltedhash-perl=0.09-1ubuntu0.18.04.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
Ubuntu focal
libcrypt-saltedhash-perl→0.09-1ubuntu0.20.04.1~esm1apt_upgrade_esmFixed at 0.09-1ubuntu0.20.04.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libcrypt-saltedhash-perl=0.09-1ubuntu0.20.04.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libcrypt-saltedhash-perl→0.09-1ubuntu0.20.04.1~esm1apt_upgrade_esmFixed at 0.09-1ubuntu0.20.04.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libcrypt-saltedhash-perl=0.09-1ubuntu0.20.04.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
Ubuntu jammy
libcrypt-saltedhash-perl→0.09-1.1ubuntu0.1~esm1apt_upgrade_esmFixed at 0.09-1.1ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libcrypt-saltedhash-perl=0.09-1.1ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libcrypt-saltedhash-perl→0.09-1.1ubuntu0.1~esm1apt_upgrade_esmFixed at 0.09-1.1ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libcrypt-saltedhash-perl=0.09-1.1ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
Ubuntu noble
libcrypt-saltedhash-perl→0.09-3ubuntu0.24.04.1~esm1apt_upgrade_esmFixed at 0.09-3ubuntu0.24.04.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libcrypt-saltedhash-perl=0.09-3ubuntu0.24.04.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libcrypt-saltedhash-perl→0.09-3ubuntu0.24.04.1~esm1apt_upgrade_esmFixed at 0.09-3ubuntu0.24.04.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libcrypt-saltedhash-perl=0.09-3ubuntu0.24.04.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
Ubuntu questing
libcrypt-saltedhash-perl→0.09-3ubuntu0.25.10.1apt_upgradeStandard apt upgrade. Install 0.09-3ubuntu0.25.10.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libcrypt-saltedhash-perl
Most apt upgrades restart their service automatically. needrestart lists anything else.
libcrypt-saltedhash-perl→0.09-3ubuntu0.25.10.1apt_upgradeStandard apt upgrade. Install 0.09-3ubuntu0.25.10.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libcrypt-saltedhash-perl
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu resolute
libcrypt-saltedhash-perl→0.09-3ubuntu0.26.04.1~esm1apt_upgrade_esmFixed at 0.09-3ubuntu0.26.04.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libcrypt-saltedhash-perl=0.09-3ubuntu0.26.04.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libcrypt-saltedhash-perl→0.09-3ubuntu0.26.04.1~esm1apt_upgrade_esmFixed at 0.09-3ubuntu0.26.04.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libcrypt-saltedhash-perl=0.09-3ubuntu0.26.04.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
Ubuntu xenial
libcrypt-saltedhash-perl→0.09-1ubuntu0.16.04.1~esm1apt_upgrade_esmFixed at 0.09-1ubuntu0.16.04.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libcrypt-saltedhash-perl=0.09-1ubuntu0.16.04.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libcrypt-saltedhash-perl→0.09-1ubuntu0.16.04.1~esm1apt_upgrade_esmFixed at 0.09-1ubuntu0.16.04.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libcrypt-saltedhash-perl=0.09-1ubuntu0.16.04.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
Are YOU affected by USN-8418-1?
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-8418-1 (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 1-server / $99 lifetime founder seat (50 only) / $19+/mo monthly. Indie pricing.