
CVE catalog
CVE-2026-2474
libcrypt-urandom-perl: CVE-2026-2474
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.34% · Oct 27, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libcrypt-urandom-perl | sid | 0.55-1 | fixed |
| Debian | libcrypt-urandom-perl | forky | 0.55-1 | fixed |
| Debian | libcrypt-urandom-perl | trixie | 0.54-1+deb13u1 | fixed |
| Debian | libcrypt-urandom-perl | bookworm | 0.36-3 | not affected |
| Alpine | perl-crypt-urandom | 3.24 | 0.55-r0 | fixed |
| Suse | perl-Crypt-URandom | linux enterprise server 12 sp5-ltss | 0.550.0-1.6.1 | fixed |
| Suse | perl-Crypt-URandom | linux enterprise server ltss extended security 12 sp5 | 0.550.0-1.6.1 | fixed |
| Opensuse | perl-Crypt-URandom | tumbleweed | 0.550.0-1.1 | fixed |
| Ubuntu | libcrypt-urandom-perl | 25.10 | 0.54-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libcrypt-urandom-perl | source | sid | 0.55-1 | not yet assigned | Not reported | Not reported |
| Debian | libcrypt-urandom-perl | source | forky | 0.55-1 | not yet assigned | Not reported | Not reported |
| Debian | libcrypt-urandom-perl | source | trixie | 0.54-1+deb13u1 | not yet assigned | Not reported | Not reported |
| Debian | libcrypt-urandom-perl | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Alpine | perl-crypt-urandom | apk | 3.24 | 0.55-r0 | Not reported | ALPINE-CVE-2026-2474 | Not reported |
| Suse | perl-Crypt-URandom | rpm | linux enterprise server 12 sp5-ltss | 0.550.0-1.6.1 | Not reported | SUSE-SU-2026:1170-1 | Not reported |
| Suse | perl-Crypt-URandom | rpm | linux enterprise server ltss extended security 12 sp5 | 0.550.0-1.6.1 | Not reported | SUSE-SU-2026:1170-1 | Not reported |
| Opensuse | perl-Crypt-URandom | rpm | tumbleweed | 0.550.0-1.1 | Not reported | OPENSUSE-SU-2026:10414-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libcrypt-urandom-perl]Not affected
Details (2)
0.36-3· all · bookwormNot affected
dsa · libcrypt-urandom-perl · debian · bookworm
0.36-3· all · bookwormNot affected
dsa · libcrypt-urandom-perl · debian · bookworm
[Debian 13 (Trixie)]
- [libcrypt-urandom-perl]Fixed
Details (2)
0.54-1+deb13u1· amd64 · trixieFixed · Fixed:
0.54-1+deb13u1dsa · libcrypt-urandom-perl · debian · 13
0.54-1+deb13u1· arm64 · trixieFixed · Fixed:
0.54-1+deb13u1dsa · libcrypt-urandom-perl · debian · 13
[openSUSE Tumbleweed]
- [perl-Crypt-URandom]Fixed
Source package: [perl-Crypt-URandom]
Details (1)
0.550.0-1.4· x86_64 · tumbleweedFixed · Fixed:
0.550.0-1.1dsa · perl-Crypt-URandom · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10414-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2026-2474]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-2474]
- [https://osv.dev/vulnerability/SUSE-SU-2026:1170-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-2474]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10414-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-2474]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2474.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-0688.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]