CVE-2025-1828 Perl's Crypt::Random module after 1.05 and before 1.56 may use rand() function for cryptographic functions
HighCVSS 8.8
EPSS 0.41%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| perl Crypt::Random | >= 1.05, < 1.56 | 1.56 | Fixed |
| TIMLEGGE cryptrandom | >= 1.05, <= 1.55 | after 1.55 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| perl Crypt::Random | >= 1.05, < 1.56 | 1.56 |
| TIMLEGGE cryptrandom | >= 1.05, <= 1.55 | No fix listed |
References
- perldoc.perl.org patch
- github.com issue-tracking patch
- github.com patch