CVE-2026-2474: 
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2026-2474 is a heap-based buffer overflow vulnerability in the Crypt::URandom Perl module affecting versions 0.41 through 0.54 (before 0.55). The flaw resides in the XS function crypt_urandom_getrandom(), which fails to validate that the length parameter is non-negative, leading to integer wraparound and heap memory corruption. It was disclosed on February 16, 2026, with a patch available in version 0.55. The vulnerability carries a CVSS v3.1 base score of 7.5 (High) (Red Hat Advisory, Red Hat Bugzilla).

Technical details

The root cause is classified as CWE-122 (Heap-based Buffer Overflow), CWE-1284 (Improper Validation of Specified Quantity in Input), and CWE-839 (Numeric Range Comparison Without Minimum Check). When a negative value (e.g., -1) is passed as the length parameter to crypt_urandom_getrandom(), the expression length + 1u triggers an integer wraparound due to signed/unsigned arithmetic, resulting in a zero-byte heap allocation. The subsequent getrandom(data, length, GRND_NONBLOCK) syscall receives the original negative value, which is implicitly cast to a very large unsigned integer (typically SIZE_MAX), causing writes far beyond the allocated buffer boundary and corrupting heap memory (Red Hat Bugzilla, Red Hat Advisory).

Impact

Successful exploitation results in heap memory corruption and application crash, constituting a denial-of-service (DoS) condition. There is no known confidentiality or integrity impact — the CVSS vector reflects High availability impact only. In typical deployments, the length argument is hardcoded by the caller, significantly limiting attacker-controlled exploitation; however, applications that pass untrusted user input to this parameter face elevated risk of service disruption (Red Hat Bugzilla, Red Hat Advisory).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of disclosure. The EPSS score is approximately 0.028% (0.000280), indicating very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is further constrained by the fact that the vulnerable parameter is typically hardcoded in common usage patterns, requiring attacker control over the length argument to trigger the flaw (Red Hat Advisory, Red Hat Bugzilla).

Mitigation and workarounds

The primary remediation is to update Crypt::URandom to version 0.55 or later, which introduces proper validation of the length parameter. For applications that cannot be immediately patched, implement input validation to ensure the length argument passed to crypt_urandom_getrandom() is always non-negative and does not originate from untrusted sources. Fedora and openSUSE have issued updated packages addressing this vulnerability (Red Hat Advisory, openSUSE Advisory).

Community reactions

Red Hat tracked the vulnerability via its OSIDB system and assigned it medium severity. Fedora issued package updates for Fedora 42 and 43, and openSUSE published a security announcement. German Linux security outlet pro-linux.de covered the vulnerability across multiple updates. Community coverage has been limited, consistent with the low exploitability profile of the flaw (Red Hat Advisory, openSUSE Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

libcrypt-urandom-perl

Fixed

sid

libcrypt-urandom-perl: 0.55-1

Fixed

trixie

libcrypt-urandom-perl: 0.54-1+deb13u1

Fixed

Alpine

Fixed

edge

perl-crypt-urandom: 0.55-r0

Fixed

Source: This report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-116612HIGH7.8
  • Linux Debian logoLinux Debian
  • gstreamer-editing-services1.0
NoYesOct 26, 2026
CVE-2026-115909HIGH7.5
  • Linux Debian logoLinux Debian
  • rust-zip
NoNoOct 26, 2026
CVE-2026-115907HIGH7.5
  • Linux Debian logoLinux Debian
  • rust-zip
NoNoOct 26, 2026
CVE-2026-115910MEDIUM6.8
  • Python logoPython
  • social-auth-core
NoYesOct 26, 2026
CVE-2026-2270MEDIUM5.9
  • NixOS logoNixOS
  • kubernetes
NoYesOct 26, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management