CVEfocus › CVE database › CVE-2026-47372

CVE-2026-47372Crypt::SaltedHash versions through 0.09 for Perl generate insecure random values for salts

CVSS 9.1 CriticalEPSS 0.5% (higher than 36% of CVEs)Published 2026-05-20Updated 2026-05-21Assigner: CPANSec

Crypt::SaltedHash versions through 0.09 for Perl generate insecure random values for salts. These versions use the built-in rand function, which is predictable and unsuitable for cryptography.

CWE-338

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
8Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libcrypt-saltedhash-perlFix pending0.09-3ubuntu0.26.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-47372
Ubuntu 25.10libcrypt-saltedhash-perlFixed0.09-3ubuntu0.25.10.1UBUNTU-CVE-2026-47372
Ubuntu 24.04libcrypt-saltedhash-perlFix pending0.09-3ubuntu0.24.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-47372
Ubuntu 22.04libcrypt-saltedhash-perlFix pending0.09-1.1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-47372
Ubuntu 20.04libcrypt-saltedhash-perlFix pending0.09-1ubuntu0.20.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-47372
Ubuntu 18.04libcrypt-saltedhash-perlFix pending0.09-1ubuntu0.18.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-47372
Ubuntu 16.04libcrypt-saltedhash-perlFix pending0.09-1ubuntu0.16.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-47372
Debian 14libcrypt-saltedhash-perlFixed0.11-1DEBIAN-CVE-2026-47372
Debian 13libcrypt-saltedhash-perlFix pendingDEBIAN-CVE-2026-47372
Debian 12libcrypt-saltedhash-perlFix pendingDEBIAN-CVE-2026-47372

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to version 0.10 or later.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.