Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-47372 EUVD-2026-31198GHSA-h295-pfx3-r298

Crypt::SaltedHash versions through 0.09 for Perl generate insecure random values for salts

Published May 20, 2026 · Updated May 21, 2026 · Assigned by CPANSec

Description

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.

Affected products

VendorProductAffectedFixed
RRWO Crypt::SaltedHash ≤ 0.09 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libcrypt-saltedhash-perl 0.11-1 —
Debian 13 libcrypt-saltedhash-perl No fix yet —
Debian 12 libcrypt-saltedhash-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 libcrypt-saltedhash-perl 0.09-3ubuntu0.25.10.1 USN-8418-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS libcrypt-saltedhash-perl 0.09-3ubuntu0.26.04.1~esm1 USN-8418-1
Ubuntu Pro 24.04 LTS libcrypt-saltedhash-perl 0.09-3ubuntu0.24.04.1~esm1 USN-8418-1
Ubuntu Pro 22.04 LTS libcrypt-saltedhash-perl 0.09-1.1ubuntu0.1~esm1 USN-8418-1
Ubuntu Pro 20.04 LTS libcrypt-saltedhash-perl 0.09-1ubuntu0.20.04.1~esm1 USN-8418-1
Ubuntu Pro 18.04 LTS libcrypt-saltedhash-perl 0.09-1ubuntu0.18.04.1~esm1 USN-8418-1
Ubuntu Pro 16.04 LTS libcrypt-saltedhash-perl 0.09-1ubuntu0.16.04.1~esm1 USN-8418-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-Crypt-SaltedHash 0.110.0-1.1 openSUSE-SU-2026:10836-1
openSUSE Leap 16.0 perl-Crypt-SaltedHash 0.110.0-bp160.1.1 openSUSE-SU-2026:20986-1
openSUSE Leap 16.0 perl-Crypt-SysRandom 0.7.0-bp160.1.1 openSUSE-SU-2026:20986-1

Advisories 3

References