CVE-2024-58041

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

Published Feb 23, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:wonko:smolder:*:*:*:*:*:perl:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wonko
Wonko smolder
Vendors & Products Wonko
Wonko smolder
Type Values Removed Values Added
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.
Title Smolder versions through 1.51 for Perl uses insecure rand() function for cryptographic functions
Weaknesses CWE-338
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Feb 24, 2026, 4:41 PM
Reserved
Mar 26, 2025, 2:00 PM
Status
Analyzed
Published
Feb 24, 2026, 12:16 AM
Modified
Jun 17, 2026, 8:14 AM