cve.bz

CVE-2026-2474 ddick crypt\: Heap-based Buffer Overflow

7.5 highEPSS 0.4%

High (7.5) in ddick crypt\. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 30th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-02-17. 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-122 Heap-based Buffer Overflow
CWE-1284 Improper Validation of Specified Quantity in Input
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-2474 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-2474?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-2474?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-2026-2474 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

  • ddick:crypt\

Versions

From the CNA's record in the CVE List.

ProductAffected
DDICK Crypt::URandomfrom 0.41 before 0.55

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13libcrypt-urandom-perl0.54-1+deb13u1DEBIAN-CVE-2026-2474
Debian14libcrypt-urandom-perl0.55-1DEBIAN-CVE-2026-2474
Ubuntu25.10libcrypt-urandom-perlno fix listedUBUNTU-CVE-2026-2474
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5perl-Crypt-URandom0.550.0-1.6.1SUSE-SU-2026:1170-1
openSUSETumbleweedperl-Crypt-URandom0.550.0-1.1openSUSE-SU-2026:10414-1
Alpinev3.24perl-crypt-urandom0.55-r0ALPINE-CVE-2026-2474
Alpaquitastreamperl-crypt-urandom0.55-r0BELL-CVE-2026-2474

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine · Alpaquita.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON