CVE-2025-1828

Perl's Crypt::Random module after 1.05 and before 1.56 may use rand() function for cryptographic functions

Description

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.

Remediation

Solution:

  • Upgrade to version 1.56 or higher

Category

8.8
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.06%
Affected: perl Crypt::Random
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-1828?
CVE-2025-1828 has been scored as a high severity vulnerability.
How to fix CVE-2025-1828?
To fix CVE-2025-1828: Upgrade to version 1.56 or higher
Is CVE-2025-1828 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-1828 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-1828?
CVE-2025-1828 affects perl Crypt::Random.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.