CVE-2026-41564CryptX versions before 0.088 for Perl do not reseed the Crypt::PK PRNG state after forking
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libcryptx-perl | Fix pending | UBUNTU-CVE-2026-41564 | |
| Ubuntu 26.04 | libcryptx-perl | Under investigation | UBUNTU-CVE-2026-41564 | |
| Ubuntu 25.10 | libcryptx-perl | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-41564 | |
| Ubuntu 24.04 | libcryptx-perl | Fix pending | UBUNTU-CVE-2026-41564 | |
| Ubuntu 22.04 | libcryptx-perl | Fix pending | UBUNTU-CVE-2026-41564 | |
| Ubuntu 20.04 | libcryptx-perl | Fix pending | UBUNTU-CVE-2026-41564 | |
| Ubuntu 18.04 | libcryptx-perl | Fix pending | UBUNTU-CVE-2026-41564 | |
| Debian 14 | libcryptx-perl | Fixed | 0.087-2 | DEBIAN-CVE-2026-41564 |
| Debian 13 | libcryptx-perl | Fixed | 0.085-1+deb13u1 | DEBIAN-CVE-2026-41564 |
| Debian 12 | libcryptx-perl | Fix pending | DEBIAN-CVE-2026-41564 | |
| Alpine Linux 3.24 | perl-cryptx | Fixed | 0.088-r0 | ALPINE-CVE-2026-41564 |
| Alpine Linux 3.23 | perl-cryptx | Fixed | 0.088-r0 | ALPINE-CVE-2026-41564 |
| Alpine Linux 3.22 | perl-cryptx | Fixed | 0.088-r0 | ALPINE-CVE-2026-41564 |
| Alpine Linux 3.21 | perl-cryptx | Fixed | 0.088-r0 | ALPINE-CVE-2026-41564 |
| Alpine Linux 3.20 | perl-cryptx | Fixed | 0.088-r0 | ALPINE-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.
- MIK CryptX: affected: before 0.088; fixed in
0.088
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:
- https://github.com/DCIT/perl-CryptX/security/advisories/GHSA-24c2-gp6c-24c6 (vendor-advisory)
- https://github.com/DCIT/perl-CryptX/commit/9a1dd3e0c27d68e32450be5538b864c2b115ee15.patch (patch)
- https://metacpan.org/release/MIK/CryptX-0.088 (release-notes)
References
- https://github.com/DCIT/perl-CryptX/security/advisories/GHSA-24c2-gp6c-24c6
- https://github.com/DCIT/perl-CryptX/commit/9a1dd3e0c27d68e32450be5538b864c2b115ee15.patch
- https://metacpan.org/release/MIK/CryptX-0.088
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.