8.8High

CVE-2025-1828Perl's Crypt::Random module after 1.05 and before 1.56 may use rand() function for cryptographic functions

perl Crypt::Random Published: (1 year ago)

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.

Weakness (CWE): CWE-338CWE-331

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
perl Crypt::Random 1.05 – < 1.56
timlegge crypt 1.05 – ≤ 1.55

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:timlegge:crypt\:\:random:*:*:*:*:*:perl:*:* ≥ 1.05 ≤ 1.55