Description
Crypt::PasswdMD5 versions through 1.42 for Perl generates insecure random values for salts. The built-in rand function is predictable, and unsuitable for cryptography.
Problem types
CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Product status
Any version
Timeline
| 2026-04-14: | Issue reported to CPANSec |
| 2026-04-20: | Maintainer notified |
| 2026-05-08: | Vulnerability published |
| 2026-05-23: | Version 1.43 with fix uploaded to CPAN |
References
www.openwall.com/lists/oss-security/2026/05/08/17
metacpan.org/release/RSAVAGE/Crypt-PasswdMD5-1.43/changes
github.com/ronsavage/Crypt-PasswdMD5/pull/3
github.com/...a2f821637db0296082297aa4b02254ab08f0dc5e.patch
metacpan.org/...PasswdMD5-1.42/source/lib/Crypt/PasswdMD5.pm