CVE-2025-1828
HIGH 8.8CVSS 3.1Crypt::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.
- Published
- 11 Mar 2025
- Last modified
- 17 Jun 2026
- Assigned by
- 9b29abf9-4ab0-4765-b253-1875cd9b441e
- NVD status
- Analyzed
- Weakness
- CWE-331CWE-338
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | timlegge | crypt::randomcpe:2.3:a:timlegge:crypt\:\:random:*:*:*:*:*:perl:*:* |
>= 1.05, <= 1.55 |
References
- https://github.com/perl-Crypt-OpenPGP/Crypt-Random/commit/1f8b29e9e89d8d083fd025152e76ec918136cc05 · Patch
- https://github.com/perl-Crypt-OpenPGP/Crypt-Random/pull/1 · Issue Tracking, Patch
- https://perldoc.perl.org/functions/rand · Patch
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 11 Mar 2025)