{"id":"CVE-2024-58040","aliases":["EUVD-2024-55029","GHSA-3fwq-4gv2-9v92"],"status":"published","title":"Crypt::RandomEncryption for Perl uses insecure rand() function during encryption","description":"Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.","severity":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-11","score":0.00237,"percentile":0.14839,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-331","CWE-338"],"published":"2025-09-29T23:54:22Z","modified":"2026-06-17T08:14:29Z","products":[{"vendor":"qwer","product":"crypt::randomencryption"},{"vendor":"qwer","product":"crypt\\"}],"references":[{"url":"https://metacpan.org/release/QWER/Crypt-RandomEncryption-0.01/source/lib/Crypt/RandomEncryption.pm#L33","tags":["Broken Link","Product"]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":["related","Third Party Advisory"]},{"url":"https://perldoc.perl.org/functions/rand","tags":["related","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58040"},{"url":"https://github.com/advisories/GHSA-3fwq-4gv2-9v92"}],"sources":{"cve":[{"id":"CVE-2024-58040","title":"Crypt::RandomEncryption for Perl uses insecure rand() function during encryption","description":"Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.","status":"published","published":"2025-09-29T23:54:22.953Z","modified":"2025-09-30T13:37:53.749Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","assessor":"adp"}],"cwes":["CWE-338","CWE-331"],"updated_at":"2026-11-02T14:34:08.843708Z"}],"euvd":[{"id":"EUVD-2024-55029","description":"Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.","status":"published","published":"2025-09-29T23:54:22Z","modified":"2025-09-30T13:37:53Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"updated_at":"2026-11-02T20:31:38.096877Z"}],"ghsa":[{"id":"GHSA-3fwq-4gv2-9v92","title":"Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.","description":"Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.","status":"published","published":"2025-09-30T12:30:51Z","modified":"2025-09-30T15:30:29Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"cwes":["CWE-331"],"updated_at":"2026-11-02T15:03:49.069159Z"}],"nvd":[{"id":"CVE-2024-58040","description":"Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.","status":"published","published":"2025-09-30T11:37:36.6Z","modified":"2026-06-17T08:14:29.507Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","assessor":"secondary"}],"cwes":["CWE-331","CWE-338"],"updated_at":"2026-11-02T14:10:47.444899Z"}]}}
