CVE-2026-2474: DDICK Crypt::URandom · Heap-based Buffer Overflow
Affects DDICK Crypt::URandomSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 0.55 soon.
Data as of 26 Oct 2026, 09:16 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.55
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade Crypt::URandom and Crypt-URandom to 0.55.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| DDICKCrypt::URandom | Affected
| Fixed in
|
GitHubCrypt-URandompkg:github/Crypt-URandomOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2026-2474, European organizations should first identify all instances of Crypt::URandom versions 0.41 up to but not including 0.55 in their environments. In the interim, developers should audit all code invoking crypt_urandom_getrandom() to ensure the length parameter is never derived from untrusted or user-controlled input. Implement strict input validation to reject negative or out-of-range values before passing them to the function. Consider adding additional runtime checks or wrappers around the vulnerable function to enforce parameter constraints. For critical systems, consider isolating or sandboxing Perl applications using this module to limit the impact of potential crashes. Regularly review application logs and monitor for abnormal crashes or memory corruption symptoms that could indicate exploitation attempts. Finally, incorporate this vulnerability into vulnerability management and incident response plans to ensure rapid detection and remediation.
Description
Crypt::URandom versions from 0.41 before 0.55 for Perl is vulnerable to a heap buffer overflow in the XS function crypt_urandom_getrandom(). The function does not validate that the length parameter is non-negative. If a negative value (e.g. -1) is supplied, the expression length + 1u causes an integer wraparound, resulting in a zero-byte allocation. The subsequent call to getrandom(data, length, GRND_NONBLOCK) passes the original negative value, which is implicitly converted to a large unsigned value (typically SIZE_MAX). This can result in writes beyond the allocated buffer, leading to heap memory corruption and application crash (denial of service). In common usage, the length argument is typically hardcoded by the caller, which reduces the likelihood of attacker-controlled exploitation. Applications that pass untrusted input to this parameter may be affected.