{"id":"CVE-2025-1828","aliases":["CVE-2025-1828"],"related":[],"kind":"vulnerability","state":"published","title":"Perl's Crypt::Random module after 1.05 and before 1.56 may use rand() function for cryptographic functions","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El paquete Crypt::Random Perl 1.05 a 1.55 puede utilizar la función rand(), que no es criptográficamente segura, para funciones criptográficas. Crypt::Random::rand 1.05 a 1.55 utiliza la función rand(). Si no se especifica el proveedor y /dev/urandom o un servicio Entropy Gathering Daemon (egd) no está disponible, Crypt::Random utilizará de forma predeterminada el proveedor inseguro Crypt::Random::rand. En particular, las versiones de Windows de Perl encontrarán este problema de forma predeterminada.","source":"nvd"}],"published":"2025-03-10T23:51:33.279Z","modified":"2026-06-17T08:39:50.943Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-331","CWE-338"],"affected":[{"ranges":[{"type":"custom","introduced":"1.05","fixed":"1.56","status":"affected"}],"vendor":"perl","product":"Crypt::Random","package":"Crypt-Random","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"1.05","lastAffected":"1.55"}],"vendor":"timlegge","product":"crypt::random","cpe":"cpe:2.3:a:timlegge:crypt\\:\\:random:*:*:*:*:*:perl:*:*","source":"nvd"}],"references":[{"url":"https://perldoc.perl.org/functions/rand","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/perl-Crypt-OpenPGP/Crypt-Random/pull/1","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/perl-Crypt-OpenPGP/Crypt-Random/commit/1f8b29e9e89d8d083fd025152e76ec918136cc05","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Robert Rothenberg (RRWO)"],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-03-11T02:20:07.985Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-1828","url":"https://www.cve.org/CVERecord?id=CVE-2025-1828","licence":"CVE Terms of Use","modified":"2025-09-09T13:56:40.704Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-1828","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1828","licence":"Public domain","modified":"2026-06-17T08:39:50.943Z"}],"updatedAt":"2026-11-25T22:58:55.094Z","epss":{"score":0.00407,"percentile":0.37065,"date":"2026-12-01T12:00:22.000Z"}}