CVE-2024-58041CWE-338

Smolder versions through 1.51 for Perl uses insecure rand() function for cryptographic functions

Critical · published February 23, 2026

CVSS v3.1
9.1
EPSS
0%
Percentile
40.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00475 · 40.1th percentile
Weakness
CWE-338 · Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Published
2026-02-23T23:54Z
EPSS history
Timeline
  • 23 FEB 23:54Z
    Smolder versions through 1.51 for Perl uses insecure rand() function for cryptographic functions
    cvelistv5