CVE-2026-41564: CWE-335 Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG) in MIK CryptX
CryptX versions before 0. 088 for Perl contain a vulnerability where the Crypt::PK pseudo-random number generator (PRNG) state is not reseeded after a process fork. This causes child processes to share identical PRNG states, leading to identical outputs in cryptographic operations such as key generation and signing. Specifically, ECDSA or DSA signatures generated by different processes can leak the private key due to nonce reuse. This affects preforking services like the Starman web server that load Crypt::PK::* objects before forking. The vulnerability has a high severity with a CVSS score of 7. 5.
AI Analysis
Technical Summary
The vulnerability in CryptX (before version 0.088) arises because the Crypt::PK modules (including RSA, DSA, DH, ECC, Ed25519, and X25519) initialize a per-object PRNG state at construction and reuse it without detecting process forks. When a process forks, the child inherits the parent's PRNG state without reseeding, causing identical pseudo-random outputs across processes. This flaw enables attackers to recover private keys from multiple signatures generated by different child processes due to nonce reuse, compromising cryptographic security in preforking environments such as the Starman web server.
Potential Impact
The vulnerability allows an attacker to recover private signing keys by analyzing multiple signatures generated by different child processes sharing the same PRNG state. This compromises the confidentiality of private keys used in ECDSA or DSA signatures, potentially enabling signature forgery or impersonation. The impact is limited to environments where Crypt::PK objects are created before forking, such as preforking web servers.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid creating Crypt::PK::* objects before forking in preforking services. Alternatively, ensure that PRNG states are properly reseeded in child processes after fork to prevent nonce reuse. Monitor vendor channels for updates and apply patches once released.
CVE-2026-41564: CWE-335 Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG) in MIK CryptX
Description
CryptX versions before 0. 088 for Perl contain a vulnerability where the Crypt::PK pseudo-random number generator (PRNG) state is not reseeded after a process fork. This causes child processes to share identical PRNG states, leading to identical outputs in cryptographic operations such as key generation and signing. Specifically, ECDSA or DSA signatures generated by different processes can leak the private key due to nonce reuse. This affects preforking services like the Starman web server that load Crypt::PK::* objects before forking. The vulnerability has a high severity with a CVSS score of 7. 5.
CVSS v3.1
Score 7.5high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in CryptX (before version 0.088) arises because the Crypt::PK modules (including RSA, DSA, DH, ECC, Ed25519, and X25519) initialize a per-object PRNG state at construction and reuse it without detecting process forks. When a process forks, the child inherits the parent's PRNG state without reseeding, causing identical pseudo-random outputs across processes. This flaw enables attackers to recover private keys from multiple signatures generated by different child processes due to nonce reuse, compromising cryptographic security in preforking environments such as the Starman web server.
Potential Impact
The vulnerability allows an attacker to recover private signing keys by analyzing multiple signatures generated by different child processes sharing the same PRNG state. This compromises the confidentiality of private keys used in ECDSA or DSA signatures, potentially enabling signature forgery or impersonation. The impact is limited to environments where Crypt::PK objects are created before forking, such as preforking web servers.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid creating Crypt::PK::* objects before forking in preforking services. Alternatively, ensure that PRNG states are properly reseeded in child processes after fork to prevent nonce reuse. Monitor vendor channels for updates and apply patches once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-04-21T12:45:20.132Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e9cfd487115cfb68ce4194
Added to database: 4/23/2026, 7:52:52 AM
Last enriched: 4/30/2026, 8:14:35 AM
Last updated: 6/4/2026, 5:42:49 AM
Views: 84
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.