Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Primary rating from NVD.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Lifecycle Timeline
7DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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
Same technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: HighShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-25201