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

Summary

CVECVE-2026-41564
StatePUBLISHED
AssignerCPANSec
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-23 08:16:01 UTC
Updated2026-04-23 10:16:17 UTC
DescriptionCryptX 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.

Risk And Classification

Problem Types: CWE-335 | CWE-338 | CWE-335 CWE-335 Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG) | CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA MIK CryptX affected 0.088 custom Not specified

References

ReferenceSourceLinkTags
github.com/DCIT/perl-CryptX/commit/9a1dd3e0c27d68e32450be5538b864c2b115e... 9b29abf9-4ab0-4765-b253-1875cd9b441e github.com
metacpan.org/release/MIK/CryptX-0.088 9b29abf9-4ab0-4765-b253-1875cd9b441e metacpan.org
www.openwall.com/lists/oss-security/2026/04/23/2 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
github.com/DCIT/perl-CryptX/security/advisories/GHSA-24c2-gp6c-24c6 9b29abf9-4ab0-4765-b253-1875cd9b441e github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2026-04-18T00:00:00.000ZIssue discovered.
CNA2026-04-21T00:00:00.000ZReported to upstream maintainer.
CNA2026-04-23T00:00:00.000ZCryptX 0.088 released with fix.

Solutions

CNA: 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.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report