{"id":"CVE-2026-16235","published":"2026-07-20T07:02:11Z","modified":"2026-07-20T18:38:12Z","title":"Crypt::Password versions through 0.28 for Perl generate insecure random values for salts","vendor":"DRSTEVE","product":"Crypt::Password","tier":"tail","description":{"text":"Crypt::Password versions through 0.28 for Perl generate insecure random values for salts.\n\nThese versions use the built-in rand function, which is predictable and unsuitable for cryptography.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00553,"percentile":0.47113,"provenance":"source"},"cwes":[{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"}],"references":[{"url":"https://metacpan.org/release/DRSTEVE/Crypt-Password-0.28/source/lib/Crypt/Password.pm#L306-309","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/20/3","tags":[]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":9.42},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"drsteve","affectedVersions":[{"vendor":"DRSTEVE","product":"Crypt::Password","versions":["<= 0.28"]}],"workarounds":{"items":["Users can generate a salt manually using a module such as Crypt::URandom::Token, and pass the salt directly to the password and crypt_password methods. This module has not been updated since 2012. Users should migrate to an alternative solution."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-20T13:08:26.739469Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-45895","exploited":false,"provenance":"source"}}