StackPatch is liveSee product

Back to CVE digest
CVE-2026-2474 · cross-distro fix matrix

CVE-2026-2474: 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 inte

Affects 2 Linux releases across 2 (distro × package) combinations.

Fix per ecosystem

Each block below is a distro release where CVE-2026-2474 has a known fix. Run the listed command on that distro to remediate.

Debian trixie

Source: Debian Security Tracker

  • libcrypt-urandom-perl→ fixed in0.54-1+deb13u1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y libcrypt-urandom-perl

Alpine edge

Source: Alpine secdb

  • perl-crypt-urandom→ fixed in0.55-r0
    apk update && apk add --upgrade perl-crypt-urandom
Are YOU affected by CVE-2026-2474?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2026-2474dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. From $9/mo, 14-day free trial, cancel anytime.

See StackPatch (from $9/mo)