SNYK-JS-JSRSASIGN-15370939
## Overview [jsrsasign](https://www.npmjs.com/package/jsrsasign) is a free pure JavaScript cryptographic library. Affected versions of this package are vulnerable to Incomplete Comparison with Missing Factors via the `getRandomBigIntegerZeroToMax` and `getRandomBigIntegerMinToMax` functions in `src/crypto-1.1.js`; an attacker can recover the private key by exploiting the incorrect `compareTo` checks that accept out-of-range candidates and thus bias DSA nonces during signature generation. ## Remediation Upgrade `jsrsasign` to version 11.1.1 or higher. ## References - [GitHub Commit](https://github.com/kjur/jsrsasign/commit/ee4b013478366cb16cea9a4bdfb218b6077f83b1) - [GitHub Gist](https://gist.github.com/Kr0emer/081681818b51605c91945126d74b4f20) - [GitHub PR](https://github.com/kjur/jsrsasign/pull/647)
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
Timeline
- Feb 17, 2026 CVE Updated
- Mar 22, 2026 CVE Published
References
- https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15370939 advisory
- https://www.npmjs.com/package/jsrsasign vendor
- https://github.com/kjur/jsrsasign/commit/ee4b013478366cb16cea9a4bdfb218b6077f83b1 patch
- https://gist.github.com/Kr0emer/081681818b51605c91945126d74b4f20 technical
- https://github.com/kjur/jsrsasign/pull/647 patch