CVE-2025-1828CWE-331CWE-338
Perl's Crypt::Random module after 1.05 and before 1.56 may use rand() function for cryptographic functions
High · published March 10, 2025
What it is
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.
The record
Technical detail
- CVSS v3.1
- 8.8 · HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS v4.0
- Not supplied
- EPSS
- 0.00407 · 33.9th percentile
- Weaknesses
- CWE-331 · Insufficient Entropy; CWE-338 · Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
- Published
- 2025-03-10T23:51Z
EPSS history
Timeline