{"id":"CVE-2025-1828","published":"2025-03-10T23:51:33Z","modified":"2025-09-09T13:56:40Z","title":"Perl's Crypt::Random module after 1.05 and before 1.56 may use rand() function for cryptographic functions","vendor":"perl","product":"Crypt::Random","tier":"tail","description":{"text":"Crypt::Random Perl package 1.05 through 1.55 may use rand() function, which is not cryptographically strong, for cryptographic functions.\n\nIf the Provider is not specified and /dev/urandom or an Entropy Gathering Daemon (egd) service is not available Crypt::Random will default to use the insecure Crypt::Random::rand provider.\n\nIn particular, Windows versions of perl will encounter this issue by default.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00407,"percentile":0.35873,"provenance":"source"},"cwes":[{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"},{"id":"CWE-331","name":"Insufficient Entropy"}],"references":[{"url":"https://perldoc.perl.org/functions/rand","tags":[]},{"url":"https://github.com/perl-Crypt-OpenPGP/Crypt-Random/pull/1","tags":[]},{"url":"https://github.com/perl-Crypt-OpenPGP/Crypt-Random/commit/1f8b29e9e89d8d083fd025152e76ec918136cc05","tags":[]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":7.17},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"perl","affectedVersions":[{"vendor":"perl","product":"Crypt::Random","versions":[">= 1.05, < 1.56"]}],"solutions":{"items":["Upgrade to version 1.56 or higher"],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-03-11T02:20:07.985063Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-7415","exploited":false,"provenance":"source"}}