{"id":"CVE-2024-58040","aliases":["CVE-2024-58040"],"related":[],"kind":"vulnerability","state":"published","title":"Crypt::RandomEncryption for Perl uses insecure rand() function during encryption","summary":"Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.","source":"cvelist"}],"published":"2025-09-29T23:54:22.953Z","modified":"2026-06-17T08:14:29.507Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-331","CWE-338"],"affected":[{"ranges":[{"type":"custom","introduced":"0.01","lastAffected":"*","status":"affected"}],"vendor":"QWER","product":"Crypt::RandomEncryption","package":"Crypt-RandomEncryption","source":"cvelist"},{"ranges":[{"status":"affected","version":"0.01"}],"vendor":"qwer","product":"crypt::randomencryption","cpe":"cpe:2.3:a:qwer:crypt\\:\\:randomencryption:0.01:*:*:*:*:perl:*:*","source":"nvd"}],"references":[{"url":"https://metacpan.org/release/QWER/Crypt-RandomEncryption-0.01/source/lib/Crypt/RandomEncryption.pm#L33","tags":["broken-link","product"],"sources":["cvelist","nvd"]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":["related","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://perldoc.perl.org/functions/rand","tags":["related","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Robert Rothenberg"],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2025-09-30T13:36:59.598Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-58040","url":"https://www.cve.org/CVERecord?id=CVE-2024-58040","licence":"CVE Terms of Use","modified":"2025-09-30T13:37:53.749Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-58040","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58040","licence":"Public domain","modified":"2026-06-17T08:14:29.507Z"}],"updatedAt":"2026-11-25T22:58:52.890Z","epss":{"score":0.00246,"percentile":0.17025,"date":"2026-12-01T12:00:22.000Z"}}