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.
History

Tue, 24 Feb 2026 17:15:00 +0000

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'}


Tue, 24 Feb 2026 10:00:00 +0000

Type Values Removed Values Added
First Time appeared Wonko
Wonko smolder
Vendors & Products Wonko
Wonko smolder

Tue, 24 Feb 2026 00:15:00 +0000

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

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published: 2026-02-23T23:54:23.396Z

Updated: 2026-02-24T16:41:35.824Z

Reserved: 2025-03-26T14:00:56.432Z

Link: CVE-2024-58041

cve-icon Vulnrichment

Updated: 2026-02-24T16:40:05.258Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-02-24T00:16:17.820

Modified: 2026-02-24T14:13:49.320

Link: CVE-2024-58041

cve-icon Redhat

No data.