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

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

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

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

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

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

Link: CVE-2024-58041

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2024-58041

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses