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.
{
"cna_assigner": "CPANSec",
"cwe_ids": [
"CWE-331",
"CWE-338"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1828.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:timlegge:crypt\\:\\:random:*:*:*:*:*:perl:*:*",
"range": [
{
"introduced": "1.05"
},
{
"last_affected": "1.55"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "1f8b29e9e89d8d083fd025152e76ec918136cc05"
}
],
"source": "REFERENCES_COMMIT"
}
]
}