{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-58041","published":"2026-02-24T00:16:17.820000Z","last_modified":"2026-06-17T08:14:29.660000Z","status":"Analyzed","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-338"],"cpes":[{"criteria":"cpe:2.3:a:wonko:smolder:*:*:*:*:*:perl:*:*","part":"a","vendor":"wonko","product":"smolder","version_end_including":"1.51"}],"cpes_truncated":false,"vendors":["wonko"],"products":["wonko/smolder"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.00669,"percentile":0.46991,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2024-58041/","html_en":"/en/cve/CVE-2024-58041/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-58041","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-58041"},"untrusted":{"vendor_name":"Wonko","product_name":"Smolder","desc_en":"Smolder versions through 1.51 for Perl uses insecure rand() function for cryptographic functions.\n\nSmolder 1.51 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.\n\nSpecifically Smolder::DB::Developer uses the Data::Random library which specifically states that it is \"Useful mostly for test programs\". Data::Random uses the rand() function.","affected":[{"untrusted_vendor":"WONKO","untrusted_product":"Smolder","versions":[]}],"references":[{"url":"https://metacpan.org/release/BAREFOOT/Data-Random-0.13/source/lib/Data/Random.pm#L537","tags":["Issue Tracking"]},{"url":"https://metacpan.org/release/WONKO/Smolder-1.51/source/lib/Smolder/DB/Developer.pm#L221","tags":["Issue Tracking"]},{"url":"https://metacpan.org/release/WONKO/Smolder-1.51/source/lib/Smolder/DB/Developer.pm#L5","tags":["Issue Tracking"]},{"url":"https://perldoc.perl.org/functions/rand","tags":["Third Party Advisory"]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":["Third Party Advisory"]}]}}