{"id":"CVE-2024-58040","published":"2025-09-29T23:54:22Z","modified":"2025-09-30T13:37:53Z","title":"Crypt::RandomEncryption for Perl uses insecure rand() function during encryption","vendor":"QWER","product":"Crypt::RandomEncryption","tier":"tail","description":{"text":"Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00429,"percentile":0.28874,"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://metacpan.org/release/QWER/Crypt-RandomEncryption-0.01/source/lib/Crypt/RandomEncryption.pm#L33","tags":[]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":["related"]},{"url":"https://perldoc.perl.org/functions/rand","tags":["related"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":5.77},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"qwer","affectedVersions":[{"vendor":"QWER","product":"Crypt::RandomEncryption","versions":[">= 0.01"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-09-30T13:36:59.598797Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-55029","exploited":false,"provenance":"source"}}