CVE-2024-58041 Smolder versions through 1.51 for Perl uses insecure rand() function for cryptographic functions
Smolder for Perl uses insecure random number generation for cryptographic functions, potentially allowing attackers to predict keys or tokens.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-58041?
CVE-2024-58041 is a critical vulnerability in WONKO Smolder, published on 23 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Smolder versions through 1.51 for Perl uses insecure rand() function for cryptographic functions.
Smolder 1.51 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.
Specifically 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.
Weakness: CWE-338
Which versions are affected by CVE-2024-58041?
It affects 1 product.
Products include Wonko Smolder.
How do I fix CVE-2024-58041?
No fix has been published for CVE-2024-58041 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-58041 being exploited?
There is no known exploitation of CVE-2024-58041 in the wild and no public exploit code.
Sources
Also known as GHSA-6hhh-7cj8-7mp2.