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.
Conclusion & alert: CVE-2026-2474 is rated Low Risk (35.7/100): CVSS High severity, with low exploitation likelihood (EPSS 0.05%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-20 | 0.05% | 0.05% | +0.00% |
| 2 | 2026-03-05 | 0.05% | 0.05% | -0.00% |
| 3 | 2026-02-22 | — | 0.05% | — |
Full EPSS history (4 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2026-2474: 1 source package rows (perl-crypt-urandom); 1 state rows across 1 repos (edge-main); fixed 1, open 0. | https://security.alpinelinux.org/vuln/CVE-2026-2474 |
debian
|
unimportant | CVE-2026-2474 unimportant priority: Debian including 1 source packages (libcrypt-urandom-perl), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. | https://security-tracker.debian.org/tracker/CVE-2026-2474 |
suse
|
high | — | https://www.suse.com/security/cve/CVE-2026-2474/ |
ubuntu
|
medium | CVE-2026-2474 medium priority: Ubuntu including 1 source packages (libcrypt-urandom-perl), 7 status rows across 7 suites (bionic, focal, jammy, noble, questing, upstream, xenial): not-affected 5, needed 1, released 1. | https://ubuntu.com/security/CVE-2026-2474 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| ddick | crypt::urandom | >= 0.41, < 0.55 | cpe:2.3:a:ddick:crypt\:\:urandom:*:*:*:*:*:perl:*:* |
| URL | Tags |
|---|---|
| https://metacpan.org/release/DDICK/Crypt-URandom-0.54/source/URandom.xs#L35-79 | Issue Tracking |
| https://metacpan.org/release/DDICK/Crypt-URandom-0.55/source/Changes | Release Notes Product |