CVEfocus › CVE database › CVE-2026-41564

CVE-2026-41564CryptX versions before 0.088 for Perl do not reseed the Crypt::PK PRNG state after forking

CVSS 7.5 HighEPSS 0.4% (higher than 39% of CVEs)Published 2026-04-23Updated 2026-04-23Assigner: CPANSec

CryptX versions before 0.088 for Perl do not reseed the Crypt::PK PRNG state after forking. The Crypt::PK::RSA, Crypt::PK::DSA, Crypt::PK::DH, Crypt::PK::ECC, Crypt::PK::Ed25519 and Crypt::PK::X25519 modules seed a per-object PRNG state in their constructors and reuse it without fork detection. A Crypt::PK::* object created before `fork()` shares byte-identical PRNG state with every child process, and any randomized operation they perform can produce identical output, including key generation. Two ECDSA or DSA signatures from different processes are enough to recover the signing private key through nonce-reuse key recovery. This affects preforking services such as the Starman web server, where a Crypt::PK::* object loaded at startup is inherited by every worker process.

CWE-335CWE-338

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
6Fix pending
1Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libcryptx-perlFix pendingUBUNTU-CVE-2026-41564
Ubuntu 26.04libcryptx-perlUnder investigationUBUNTU-CVE-2026-41564
Ubuntu 25.10libcryptx-perlWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-41564
Ubuntu 24.04libcryptx-perlFix pendingUBUNTU-CVE-2026-41564
Ubuntu 22.04libcryptx-perlFix pendingUBUNTU-CVE-2026-41564
Ubuntu 20.04libcryptx-perlFix pendingUBUNTU-CVE-2026-41564
Ubuntu 18.04libcryptx-perlFix pendingUBUNTU-CVE-2026-41564
Debian 14libcryptx-perlFixed0.087-2DEBIAN-CVE-2026-41564
Debian 13libcryptx-perlFixed0.085-1+deb13u1DEBIAN-CVE-2026-41564
Debian 12libcryptx-perlFix pendingDEBIAN-CVE-2026-41564
Alpine Linux 3.24perl-cryptxFixed0.088-r0ALPINE-CVE-2026-41564
Alpine Linux 3.23perl-cryptxFixed0.088-r0ALPINE-CVE-2026-41564
Alpine Linux 3.22perl-cryptxFixed0.088-r0ALPINE-CVE-2026-41564
Alpine Linux 3.21perl-cryptxFixed0.088-r0ALPINE-CVE-2026-41564
Alpine Linux 3.20perl-cryptxFixed0.088-r0ALPINE-CVE-2026-41564

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to CryptX 0.088 or later, or apply the upstream patch. Applying the fix does not retroactively protect keys that may already have been exposed. On an affected version, any private key used with or generated by a Crypt::PK::* object created before `fork()` should be assessed for rotation.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.