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.
References
| Link | Resource |
|---|---|
| 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 |
Configurations
History
05 Sep 2025, 14:15
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-331 |
27 Jun 2025, 16:11
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/perl-Crypt-OpenPGP/Crypt-Random/commit/1f8b29e9e89d8d083fd025152e76ec918136cc05 - Patch | |
| References | () https://github.com/perl-Crypt-OpenPGP/Crypt-Random/pull/1 - Issue Tracking, Patch | |
| References | () https://perldoc.perl.org/functions/rand - Patch | |
| First Time |
Timlegge
Timlegge crypt\ |
|
| CPE | cpe:2.3:a:timlegge:crypt\:\:random:*:*:*:*:*:perl:*:* |
26 Mar 2025, 02:15
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
|
| Summary | (en) 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. |
11 Mar 2025, 03:15
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.8 |
11 Mar 2025, 00:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2025-03-11 00:15
Updated : 2025-09-29 22:40
NVD link : CVE-2025-1828
Mitre link : CVE-2025-1828
CVE.ORG link : CVE-2025-1828
JSON object : View
Products Affected
timlegge
- crypt\
