CVE-2025-1828: Perl's Crypt::Random module after 1.05 and before 1.56 may use rand() function for cryptographic functions
Crypt::Random Perl package 1.05 through 1.55 may use rand() function, which is not cryptographically strong, for cryptographic functions.
If the Provider is not specified and /dev/urandom or an Entropy Gathering Daemon (egd) service is not available Crypt::Random will default to use the insecure Crypt::Random::rand provider.
In particular, Windows versions of perl will encounter this issue by default.
Affected Software
Remediation
Information
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2025-1828?
The severity of CVE-2025-1828 is considered high due to the use of a non-cryptographically strong random number generator.
How do I fix CVE-2025-1828?
To fix CVE-2025-1828, upgrade the Crypt::Random Perl package to a version beyond 1.55, ensuring to use a secure random number generator.
What versions are affected by CVE-2025-1828?
CVE-2025-1828 affects Crypt::Random Perl package versions 1.05 through 1.55.
What is the risk of using Crypt::Random versions 1.05 to 1.55 in relation to CVE-2025-1828?
Using affected versions of Crypt::Random increases the risk of cryptographic weaknesses due to reliance on the insecure rand() function.
Is CVE-2025-1828 a known issue in Crypt::Random?
Yes, CVE-2025-1828 is a documented vulnerability that was identified in the Crypt::Random Perl package.