Vulnerability · Published Apr 23, 2026 · Assigned by CPANSec
CVE-2026-41564CryptX versions before 0.088 for Perl do not reseed the Crypt::PK PRNG state after forking
High 7.5
In plain English
A high-severity security flaw in CryptX from MIK. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | perl-cryptx | 0.088-r0 | ALPINE-CVE-2026-41564 |
| Alpine:v3.21 | perl-cryptx | 0.088-r0 | ALPINE-CVE-2026-41564 |
| Alpine:v3.22 | perl-cryptx | 0.088-r0 | ALPINE-CVE-2026-41564 |
| Alpine:v3.23 | perl-cryptx | 0.088-r0 | ALPINE-CVE-2026-41564 |
| Alpine:v3.24 | perl-cryptx | 0.088-r0 | ALPINE-CVE-2026-41564 |
| Debian:12 | libcryptx-perl | no fix listed | DEBIAN-CVE-2026-41564 |
| Debian:13 | libcryptx-perl | 0.085-1+deb13u1 | DEBIAN-CVE-2026-41564 |
| Debian:14 | libcryptx-perl | 0.087-2 | DEBIAN-CVE-2026-41564 |
| Ubuntu:25.10 | libcryptx-perl | no fix listed | UBUNTU-CVE-2026-41564 |
| Ubuntu:26.04:LTS | libcryptx-perl | no fix listed | UBUNTU-CVE-2026-41564 |
| Ubuntu:26.10 | libcryptx-perl | no fix listed | UBUNTU-CVE-2026-41564 |
Affected products (as reported)
Weakness: CWE-335, CWE-338 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- 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
- http://www.openwall.com/lists/oss-security/2026/04/23/2