{"id":"CVE-2025-1828","aliases":["EUVD-2025-7415","GHSA-jqxq-7f92-m7ww"],"status":"published","title":"Perl's Crypt::Random module after 1.05 and before 1.56 may use rand() function for cryptographic functions","description":"Crypt::Random Perl package 1.05 through 1.55 may use rand() function, which is not cryptographically strong, for cryptographic functions.\n\nIf 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.\n\nIn particular, Windows versions of perl will encounter this issue by default.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.00407,"percentile":0.35269,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-331","CWE-338"],"published":"2025-03-10T23:51:33Z","modified":"2026-10-28T02:30:41Z","products":[{"vendor":"perl","product":"crypt::random"},{"vendor":"timlegge","product":"crypt\\"}],"references":[{"url":"https://perldoc.perl.org/functions/rand","tags":["Patch","web"]},{"url":"https://github.com/perl-Crypt-OpenPGP/Crypt-Random/pull/1","tags":["Issue Tracking","Patch","fix"]},{"url":"https://github.com/perl-Crypt-OpenPGP/Crypt-Random/commit/1f8b29e9e89d8d083fd025152e76ec918136cc05","tags":["Patch","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1828","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-jqxq-7f92-m7ww"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1828.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-1828","title":"Perl's Crypt::Random module after 1.05 and before 1.56 may use rand() function for cryptographic functions","description":"Crypt::Random Perl package 1.05 through 1.55 may use rand() function, which is not cryptographically strong, for cryptographic functions.\n\nIf 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.\n\nIn particular, Windows versions of perl will encounter this issue by default.","status":"published","published":"2025-03-10T23:51:33.279Z","modified":"2025-09-09T13:56:40.704Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-338","CWE-331"],"updated_at":"2026-11-02T14:32:49.503917Z"}],"euvd":[{"id":"EUVD-2025-7415","description":"Crypt::Random Perl package 1.05 through 1.55 may use rand() function, which is not cryptographically strong, for cryptographic functions.\n\nIf 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.\n\nIn particular, Windows versions of perl will encounter this issue by default.","status":"published","published":"2025-03-10T23:51:33Z","modified":"2025-09-09T13:56:40Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T20:31:45.48357Z"}],"ghsa":[{"id":"GHSA-jqxq-7f92-m7ww","title":"Crypt::Random Perl package 1.05 through 1.55 may use rand() function, which is not...","description":"Crypt::Random Perl package 1.05 through 1.55 may use rand() function, which is not cryptographically strong, for cryptographic functions.\n\nCrypt::Random::rand 1.05 through 1.55 uses the rand() function.  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.\n\nIn particular, Windows versions of perl will encounter this issue by default.","status":"published","published":"2025-03-11T00:31:49Z","modified":"2025-09-05T15:32:16Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-331","CWE-338"],"updated_at":"2026-11-02T15:03:30.514996Z"}],"nvd":[{"id":"CVE-2025-1828","description":"Crypt::Random Perl package 1.05 through 1.55 may use rand() function, which is not cryptographically strong, for cryptographic functions.\n\nIf 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.\n\nIn particular, Windows versions of perl will encounter this issue by default.","status":"published","published":"2025-03-11T00:15:11.06Z","modified":"2026-06-17T08:39:50.943Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-331","CWE-338"],"updated_at":"2026-11-02T14:10:53.101324Z"}],"osv":[{"id":"CVE-2025-1828","title":"Perl's Crypt::Random module after 1.05 and before 1.56 may use rand() function for cryptographic functions","description":"Crypt::Random Perl package 1.05 through 1.55 may use rand() function, which is not cryptographically strong, for cryptographic functions.\n\nIf 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.\n\nIn particular, Windows versions of perl will encounter this issue by default.","status":"published","published":"2025-03-10T23:51:33.279Z","modified":"2026-10-28T02:30:41.22171749Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-331","CWE-338"],"updated_at":"2026-11-02T15:44:46.665428Z"}]}}
