{"id":"CVE-2025-1860","published":"2025-03-28T00:56:08Z","modified":"2025-09-05T13:20:15Z","title":"Data::Entropy for Perl uses insecure rand() function for cryptographic functions","vendor":"ZEFRAM","product":"Data::Entropy","tier":"tail","description":{"text":"Data::Entropy for Perl 0.007 and earlier use the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00191,"percentile":0.08919,"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://metacpan.org/release/ZEFRAM/Data-Entropy-0.007/source/lib/Data/Entropy.pm#L80","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00026.html","tags":[]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":1.78},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"zefram","affectedVersions":[{"vendor":"ZEFRAM","product":"Data::Entropy","versions":["< 0.008"]}],"solutions":{"items":["Version 0.008 was released to address the issue and this module has been marked as deprecated. Users should upgrade and plan to migrate to a different module."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-12T15:41:36.179695Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-8533","exploited":false,"provenance":"source"}}