Description
Versions of the package jsrsasign before 11.1.1 are vulnerable to Missing Cryptographic Step via the KJUR.crypto.DSA.signWithMessageHash process in the DSA signing implementation. An attacker can recover the private key by forcing r or s to be zero, so the library emits an invalid signature without retrying, and then solves for x from the resulting signature.
Published: 2026-03-23
Score: 9.4 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Private Key Exposure
Action: Immediate Patch
AI Analysis

Impact

A missing cryptographic validation step in the DSA signing routine allows an attacker to force the signature components r or s to zero. The library then emits an invalid signature and does not retry, exposing a deterministic relationship that enables the recovery of the private key by solving for x from the resulting signature. The vulnerability is therefore a severe confidentiality breach that exposes private keys used for signing.

Affected Systems

Node.js applications that use the jsrsasign library in versions prior to 11.1.1 are affected. The vulnerability applies to the jsrsasign project’s JavaScript implementation of DSA signing, and any deployment that imports that package without updating to the patched release is at risk.

Risk and Exploitability

The CVSS base score is 9.4, indicating critical severity, and the EPSS score is below 1 %, suggesting that while exploitation is possible, it is not yet widespread. The vulnerability is not listed in the CISA KEV catalog. The likely attack path involves an adversary supplying crafted message or hash data to the DSA.signWithMessageHash routine within the application; the attacker must be able to influence the input to trigger zero r or s values. The inference is that the attack requires either local code execution or the ability to supply data that reaches the signing function, but the vendor’s documentation does not provide additional constraints.

Generated by OpenCVE AI on March 23, 2026 at 17:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade jsrsasign to version 11.1.1 or later, which restores the missing cryptographic check and prevents private key recovery.

Generated by OpenCVE AI on March 23, 2026 at 17:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-w8q8-93cx-6h7r jsrsasign: Missing cryptographic validation during DSA signing enables private key extraction
History

Mon, 23 Mar 2026 16:15:00 +0000

Type Values Removed Values Added
First Time appeared Jsrsasign Project
Jsrsasign Project jsrsasign
CPEs cpe:2.3:a:jsrsasign_project:jsrsasign:*:*:*:*:*:node.js:*:*
Vendors & Products Jsrsasign Project
Jsrsasign Project jsrsasign

Mon, 23 Mar 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 23 Mar 2026 12:15:00 +0000

Type Values Removed Values Added
Title jsrsasign: jsrsasign: Private Key Recovery via Missing Cryptographic Step in DSA Signing
References
Metrics threat_severity

None

threat_severity

Important


Mon, 23 Mar 2026 10:00:00 +0000

Type Values Removed Values Added
First Time appeared Kjur
Kjur jsrsasign
Vendors & Products Kjur
Kjur jsrsasign

Mon, 23 Mar 2026 05:45:00 +0000

Type Values Removed Values Added
Description Versions of the package jsrsasign before 11.1.1 are vulnerable to Missing Cryptographic Step via the KJUR.crypto.DSA.signWithMessageHash process in the DSA signing implementation. An attacker can recover the private key by forcing r or s to be zero, so the library emits an invalid signature without retrying, and then solves for x from the resulting signature.
Weaknesses CWE-325
References
Metrics cvssV3_1

{'score': 8.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N/E:P'}

cvssV4_0

{'score': 9.4, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:H/SA:N/E:P'}


Subscriptions

Jsrsasign Project Jsrsasign
Kjur Jsrsasign
cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

Updated: 2026-03-23T14:41:10.087Z

Reserved: 2026-03-22T16:26:10.973Z

Link: CVE-2026-4601

cve-icon Vulnrichment

Updated: 2026-03-23T14:41:07.056Z

cve-icon NVD

Status : Analyzed

Published: 2026-03-23T06:16:21.893

Modified: 2026-03-23T16:10:01.390

Link: CVE-2026-4601

cve-icon Redhat

Severity : Important

Publid Date: 2026-03-23T05:00:13Z

Links: CVE-2026-4601 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-03-25T14:49:48Z

Weaknesses