Skip to main content

CryptX for Perl EUVDEUVD-2026-25201

| CVE-2026-41564 HIGH
Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG) (CWE-335)
2026-04-23 CPANSec
7.5
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect to preforking service
  2. Delivery
    Request operations triggering ECDSA/DSA signatures
  3. Exploit
    Collect signatures from multiple worker processes
  4. Execution
    Perform offline nonce-reuse cryptanalysis
  5. Persist
    Extract private signing key
  6. Impact
    Forge 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

CryptX 0 <0.088

Affected Packages

euvd cryptx fix: 0.088

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

Vendor (CPANSec) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
SUSE HIGH

Primary rating from Vendor (CPANSec).

CVSS VectorVendor: CPANSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
CVSS changed
Apr 23, 2026 - 14:37 NVD
7.5 (None) 7.5 (HIGH)
Patch released
Apr 23, 2026 - 08:00 nvd
Patch available
CVE Published
Apr 23, 2026 - 07:29 nvd
HIGH 7.5

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 95% exploitable
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: High

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy