Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to preforking service
-
DeliveryRequest operations triggering ECDSA/DSA signatures
-
ExploitCollect signatures from multiple worker processes
-
ExecutionPerform offline nonce-reuse cryptanalysis
-
PersistExtract private signing key
-
ImpactForge signatures for authentication bypass
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Proper seed usage
|
| Exploitation Conditions | Exploitation requires the target application to use CryptX versions prior to 0.088 in a preforking server architecture where Crypt::PK objects are instantiated before fork() and subsequently used by child processes to generate ECDSA or DSA signatures. The attacker must collect at least two signatures created by different worker processes using the same private key on different messages (typical in multi-request web services). Single-process applications, systems using CryptX only for encryption/decryption or key agreement (not signing), and deployments where Crypt::PK objects are created fresh in each worker process after fork are not vulnerable. Attack vector is network-based (AV:N) because signature collection typically occurs through normal protocol interactions (HTTPS, SSH, API calls), but successful exploitation requires offline cryptanalytic processing of collected signatures - the network access facilitates data collection, not the actual key recovery. |
| Impact | CVSS 7.5 (High) with AV:N/AC:L/PR:N/UI:N indicates remote unauthenticated exploitation with low complexity, justified by the automatable nature confirmed in SSVC framework (automatable: yes). However, real-world risk requires specific deployment context: the vulnerability only manifests in preforking architectures where CryptX objects persist across fork() and perform signature operations (exploitation conditions: poc). EPSS score of 0.02% (5th percentile) suggests minimal observed exploitation activity, likely because the attack requires traffic analysis to collect multiple signatures from the same key across different worker processes, then offline cryptanalysis to extract the private key. SSVC technical impact is 'partial' (C:H but I:N/A:N) since only confidentiality of the private key is compromised, not system integrity. Critical gap: no CISA KEV listing despite POC availability, indicating exploitation remains theoretical rather than observed in the wild. The primary risk is to high-value signing operations in production preforking services (web APIs, certificate authorities, authentication servers) where private key compromise enables signature forgery. Systems using CryptX only for encryption/decryption or running single-process models are not affected. Patch availability in version 0.088 significantly reduces organizational risk for teams with active patch management. |
| Exploit ScenarioDerived | An attacker monitors HTTPS requests to a Starman-based API service that uses CryptX for JWT signing. The service loads a CryptX ECDSA key object during startup, then forks eight worker processes. The attacker captures two JWT signatures generated by different workers for different payloads. Using publicly available nonce-reuse cryptanalysis tools, they solve for the private signing key offline in seconds. With the recovered key, the attacker forges authentication tokens to impersonate any user or service account. Proof-of-concept code demonstrating the nonce-reuse attack exists per SSVC framework. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 23, 2026
PRNG state reuse across forked processes in CryptX for Perl allows remote attackers to recover private signing keys through cryptographic nonce-reuse attacks. When Crypt::PK objects are created before fork() in preforking web servers like Starman, every child process inherits identical PRNG state, causing duplicate randomness in cryptographic operations. Two ECDSA or DSA signatures generated by different worker processes are sufficient to mathematically recover the private key. EPSS exploitation probability is low (0.02%), but CISA SSVC framework confirms proof-of-concept availability and automatable exploitation. Vendor patch released in CryptX 0.088.
RemediationAI
Upgrade to CryptX version 0.088 or later, which implements fork detection and automatic PRNG reseeding (patch commit: https://github.com/DCIT/perl-CryptX/commit/9a1dd3e0c27d68e32450be5538b864c2b115ee15.patch, release: https://metacpan.org/release/MIK/CryptX-0.088). For environments where immediate upgrade is not feasible, implement the following compensating controls with noted trade-offs: (1) Create new Crypt::PK::* objects within each child process after fork() rather than inheriting from parent - requires application code changes and increases memory overhead per worker. (2) Migrate cryptographic operations to a separate non-forking service accessed via IPC/RPC - adds architectural complexity and latency but isolates the vulnerability. (3) Replace CryptX with alternative Perl crypto libraries that implement fork-safe PRNG handling (e.g., Crypt::OpenSSL modules) - requires code refactoring and compatibility testing. (4) For signature verification only (not generation), the vulnerability does not apply; review code to ensure affected workers never perform signing operations - requires careful audit and enforcement. Each workaround carries operational risk; vendor patch is the definitive solution.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CryptX is a Perl cryptographic library providing implementations of RSA, DSA, ECDSA, Ed25519, X25519, and Diffie-Hellman through its Crypt::PK::* module family (CPE: cpe:2.3:a:mik:cryptx). The vulnerability stems from CWE-335 (Incorrect Usage of Seeds in Pseudo-Random Number Generator) - specifically, failure to reseed the PRNG after process forking. In Unix/Linux preforking architectures, a parent process initializes resources then spawns child workers via fork(), which inherit memory state including PRNG seeds. Without fork detection, cryptographic operations requiring randomness (nonces for ECDSA/DSA signatures, ephemeral keys for ECDH) generate identical values across processes. ECDSA and DSA signature schemes are deterministically broken by nonce reuse: solving two equations with the same nonce k but different messages reveals the private key d through basic algebra. This is a well-known cryptanalytic attack (e.g., the 2010 PlayStation 3 signing key compromise). The vulnerability is particularly dangerous in preforking web servers where a single CryptX object loaded during startup is shared by all workers handling concurrent client requests.
Know when Cryptx gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Primary rating from Vendor (CPANSec).
CVSS VectorVendor: CPANSec
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-41564 affects CryptX for Perl and enables attackers to recover private signing keys through cryptographic nonce reuse in preforking web server environments like Starman. Organizations using Perl-based web applications with cryptographic signing operations face compromise of signing key material and potential forgery of digital signatures, affecting the integrity and authenticity of signed transactions or communications.
Vendor-released patch: CryptX 0.088. If immediate patching is not possible, avoid creating Crypt::PK objects before fork() calls; instantiate cryptographic objects after worker process creation, or migrate from preforking to non-forking server architectures pending patch deployment.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Denial-of-service via stack buffer overflow in CryptX (Perl cryptography module) versions before 0.088_001 affects four
Non-constant-time AEAD authentication tag comparison in CryptX before 0.088_001 for Perl exposes a timing oracle in the
EUVD-2026-25201
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB