GitHub Advisoryadvisory · npm
GHSA-w8q8-93cx-6h7r jsrsasign: Missing cryptographic validation during DSA signing enables private key extraction
HIGH
Official page ↗
- Aliases
- CVE-2026-4601
- Ecosystem
- npm
- Packages
- jsrsasign
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
- Weaknesses
- CWE-325
- Reviewed
- 2026-03-29
Affected packages
• npm jsrsasign: < 11.1.1 → fixed in 11.1.1
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.
Related
Alias · CVE (1)
- CVE-2026-4601 Versions of the package jsrsasign before 11.1.1 are vulnerable to Missing Cryptographic Step via the KJUR.crypto.DSA.signWithMessageHash… vulnerability
Weakness · CWE (1)
- CWE-325 Missing Cryptographic Step weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-4601 advisory
- https://github.com/kjur/jsrsasign/pull/645 web
- https://github.com/kjur/jsrsasign/commit/0710e392ec35de697ce11e4219c988ba2b5fe0eb web
- https://gist.github.com/Kr0emer/93789fe6efe5519db9692d4ad1dad586 web
- https://github.com/kjur/jsrsasign package
- https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15370941 web