← back
CVE-2026-47372criticalCWE-338

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

28Vexday Risk Score

No sign of exploitation. No public exploitation artifact known so far.

ssvc Trackcvss 9.1epss 0.4%
exploitation probability
0.4%top 68% of all CVEs
observed exploitation
nono source reports it
In short

Crypt::SaltedHash for Perl versions up to 0.09 uses a predictable random number generator for creating password salts, making it easy for attackers to crack hashed passwords. This is a critical flaw because salts are supposed to be unpredictable to protect passwords.

Technical detail

The module relies on Perl's built-in rand() function, which is a weak pseudorandom number generator unsuitable for cryptographic operations. An attacker can predict salt values and precompute rainbow tables or perform efficient brute-force attacks against hashed passwords, bypassing the security benefit of salting. Affected versions prior to 0.10 fail to use cryptographically secure random sources such as /dev/urandom or CSPRNG libraries.

Summary generated and translated by AI from the official 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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Affected products
RRWO · Crypt::SaltedHash