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.
Severity
CVSS 3.1
8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.9%(up from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 56th percentile. Scored 2026-11-25. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-03-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-338Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) CWE-331Insufficient Entropy
Show the promptExplain CVE-2025-1828 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-1828?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-1828?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-1828 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.
Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
timlegge:crypt\
Versions
From the CNA's record in the CVE List.
Product
Affected
perl Crypt::Random
from 1.05 before 1.56
Attack patterns (CAPEC)
CAPEC-59 Session Credential Falsification through Prediction Likelihood: High · Severity: High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.