Vulnerabilities in pkg:npm/jsrsasign
PACKAGECVE-2026-4600 is a HIGH (CVSS 7.4) dsa signatures or x.509 certificates vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting jsrsasign libraries in the npm ecosystem. The issue involves dsa signatures or x.509 certificates can be forged via dsa domain-parameter validation in kjur.crypto.dsa.setpublic. Remediation is available by upgrading affected packages to version 11.1.1.
pkg:npm/jsrsasign
Vulnerability advisories affecting package pkg:npm/jsrsasign. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-wvqx-v3f6-w8rh | CVE-2026-4600 | HIGH | jsrsasign: DSA signatures or X.509 certificates can be forged via DSA domain-parameter validation in KJUR.crypto.DSA.setPublic |
| GHSA-8qwj-4jxw-m8jw | CVE-2026-4602 | HIGH | jsrsasign: Negative Exponent Handling Leads to Signature Verification Bypass |
| GHSA-5jx8-q4cp-rhh6 | CVE-2026-4599 | CRITICAL | jsrsasign: Incomplete Comparison Allows DSA Private Key Recovery via Biased Nonce Generation |
| GHSA-8g7p-jf3g-gxcp | CVE-2026-4598 | HIGH | jsrsasign is vulnerable to DoS through Infinite Loop when processing zero or negative inputs |
| GHSA-464q-cqxq-xhgr | CVE-2026-4603 | LOW | jsrsasign: Division by Zero Allows Invalid JWK Modulus to Cause Deterministic Zero Output in RSA Operations |
| GHSA-w8q8-93cx-6h7r | CVE-2026-4601 | HIGH | jsrsasign: Missing cryptographic validation during DSA signing enables private key extraction |
| GHSA-rh63-9qcf-83gf | CVE-2024-21484 | HIGH | Marvin Attack of RSA and RSAOAEP decryption in jsrsasign |
| GHSA-27fj-mc8w-j9wg | CVE-2021-30246 | CRITICAL | RSA signature validation vulnerability on maleable encoded message in jsrsasign |
| GHSA-p8c3-7rj8-q963 | CVE-2020-14966 | HIGH | ECDSA signature validation vulnerability by accepting wrong ASN.1 encoding in jsrsasign |
| GHSA-xxxq-chmp-67g4 | CVE-2020-14967 | CRITICAL | RSA PKCS#1 decryption vulnerability with prepending zeros in jsrsasign |
| GHSA-q3gh-5r98-j4h3 | CVE-2020-14968 | CRITICAL | RSA-PSS signature validation vulnerability by prepending zeros in jsrsasign |
| GHSA-3fvg-4v2m-98jf | CVE-2022-25898 | HIGH | JWS and JWT signature validation vulnerability with special characters |
| GHSA-h87q-g2wp-47pj | - | MODERATE | Signatures are mistakenly recognized to be valid in jsrsasign |
| GHSA-g753-jx37-7xwh | - | MODERATE | ECDSA signature vulnerability of Minerva timing attack in jsrsasign |
CVE-2026-4600 at a Glance
Security Impact
CVSS: 7.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2026-4600
To remediate this vulnerability, upgrade all affected jsrsasign dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install jsrsasign@11.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls jsrsasign
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-4600, inspect your project dependencies using npm:
npm ls jsrsasign
Analyze the terminal output to locate any version of jsrsasign in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 11.1.1), your application is affected.
Note: The npm ls jsrsasign command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. In jsrsasign, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-4600 Affected jsrsasign Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
jsrsasign
|
npm |
< 11.1.1
|
11.1.1
|
References
Frequently Asked Questions
What is CVE-2026-4600?
Which jsrsasign versions are affected?
What version fixes CVE-2026-4600?
Is jsrsasign affected?
What is the CVSS score of CVE-2026-4600?
What CWE is associated with CVE-2026-4600?
How can I check npm dependencies for CVE-2026-4600?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wvqx-v3f6-w8rh",
"modified" : "2026-07-21T15:03:27Z",
"published" : "2026-03-23T06:30:29Z",
"aliases" : [ "CVE-2026-4600" ],
"summary" : "jsrsasign: DSA signatures or X.509 certificates can be forged via DSA domain-parameter validation in KJUR.crypto.DSA.setPublic",
"details" : "Versions of the package jsrsasign before 11.1.1 are vulnerable to Improper Verification of Cryptographic Signature via the DSA domain-parameter validation in KJUR.crypto.DSA.setPublic (and the related DSA/X509 verification flow in src/dsa-2.0.js). An attacker can forge DSA signatures or X.509 certificates that X509.verifySignature() accepts by supplying malicious domain parameters such as g=1, y=1, and a fixed r=1, which make the verification equation true for any hash.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "jsrsasign"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "11.1.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-4600"
}, {
"type" : "WEB",
"url" : "https://github.com/kjur/jsrsasign/pull/646"
}, {
"type" : "WEB",
"url" : "https://github.com/kjur/jsrsasign/commit/37b4c06b145c7bfd6bc2a6df5d0a12c56b15ef60"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15370940"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-15812268"
}, {
"type" : "WEB",
"url" : "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4600.json"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kjur/jsrsasign"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/Kr0emer/bf15ddc097176e951659a24a8e9002a7"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2450208"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2026-4600"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:6926"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:6912"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:6720"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:6568"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:19410"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:19409"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:19375"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-347" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-30T19:29:53Z",
"nvd_published_at" : "2026-03-23T06:16:21Z"
}
}