Skip to main content
VulnerabilityPublished

CVE-2024-58041: WONKO Smolder · PRNG

Affects WONKO SmolderSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.1 Critical.

Data as of 29 Oct 2026, 19:04 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.

Contested

Critical score, yet low EPSS after six months
EPSS
0.4% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
WONKOSmolderAffected
  • <=1.51
Fixed in–

AI-suggested

To mitigate CVE-2024-58041, organizations should immediately audit their use of Smolder versions 1.51 and earlier and identify any cryptographic functions relying on the rand() function or the Data::Random library. Developers should replace the use of rand() with a cryptographically secure PRNG, such as those provided by the Crypt::PRNG or Crypt::Random Perl modules, or system-level secure random sources like /dev/urandom or CryptGenRandom on Windows. If possible, upgrade to a newer version of Smolder that addresses this issue once available. In the absence of an official patch, consider patching the source code to remove dependencies on Data::Random for cryptographic purposes. Additionally, review all cryptographic keys, tokens, and secrets generated by affected systems and rotate them to prevent exploitation of previously generated weak values. Implement monitoring for unusual access patterns or cryptographic failures that may indicate exploitation attempts. Finally, educate development teams about the importance of using secure random number generators in cryptographic contexts to prevent similar issues.

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.

References

Community reviews

Loading reviews…