{"id":"CVE-2026-4602","aliases":["CVE-2026-4602","GHSA-8qwj-4jxw-m8jw"],"related":[],"kind":"vulnerability","state":"published","title":"jsrsasign: Negative Exponent Handling Leads to Signature Verification Bypass","summary":"Versions of the package jsrsasign before 11.1.1 are vulnerable to Incorrect Conversion between Numeric Types due to handling negative exponents in ext/jsbn2.js. An attacker can force the computation of incorrect modular inverses and break signature verification by calling modPow with a negative exponent.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Versions of the package jsrsasign before 11.1.1 are vulnerable to Incorrect Conversion between Numeric Types due to handling negative exponents in ext/jsbn2.js. An attacker can force the computation of incorrect modular inverses and break signature verification by calling modPow with a negative exponent.","source":"cvelist"},{"lang":"es","text":"Las versiones del paquete jsrsasign anteriores a la 11.1.1 son vulnerables a Conversión Incorrecta entre Tipos Numéricos debido al manejo de exponentes negativos en ext/jsbn2.js. Un atacante puede forzar el cálculo de inversas modulares incorrectas y romper la verificación de firmas al llamar a modPow con un exponente negativo.","source":"nvd"}],"published":"2026-03-23T05:00:10.567Z","modified":"2026-09-10T13:20:22.877Z","severity":{"scorer":"snyk","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","score":8.7,"rating":"HIGH"},{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","score":7.5,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","rating":"HIGH"}],"cwes":["CWE-681"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"11.1.1","status":"affected"}],"product":"jsrsasign","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"*","status":"affected"}],"product":"org.webjars.npm:jsrsasign","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1779139872","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Migration Toolkit for Virtualization 2.1","package":"migration-toolkit-virtualization/mtv-console-plugin-rhel9","cpe":"cpe:/a:redhat:migration_toolkit_virtualization:2.10::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1778927462","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Migration Toolkit for Virtualization 2.9","package":"migration-toolkit-virtualization/mtv-console-plugin-rhel9","cpe":"cpe:/a:redhat:migration_toolkit_virtualization:2.9::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1775169155","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Quay 3.10","package":"quay/quay-rhel8","cpe":"cpe:/a:redhat:quay:3.10::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1775253092","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Quay 3.12","package":"quay/quay-rhel8","cpe":"cpe:/a:redhat:quay:3.12::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1775169219","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Quay 3.15","package":"quay/quay-rhel8","cpe":"cpe:/a:redhat:quay:3.15::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1779204086","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Quay 3.16","package":"quay/quay-rhel9","cpe":"cpe:/a:redhat:quay:3.16::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1775169218","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Quay 3.9","package":"quay/quay-rhel8","cpe":"cpe:/a:redhat:quay:3.9::el8","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"11.1.1"}],"ecosystem":"npm","package":"jsrsasign","purl":"pkg:npm/jsrsasign","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"11.1.1"}],"vendor":"kjur","product":"jsrsasign","cpe":"cpe:2.3:a:kjur:jsrsasign:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15371175","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-15812274","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://gist.github.com/Kr0emer/7ecd2be7d17419e4677315ef3758faf5","tags":["exploit","mitigation","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/kjur/jsrsasign/pull/650","tags":["issue-tracking","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/kjur/jsrsasign/commit/5ea1c32bb2aa894b4bd29849839afe4f98728195","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-4602","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2450206","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4602.json","tags":["web","x-sadp-csaf-vex"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19409","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19410","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6912","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6720","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6568","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19375","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6926","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4602","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/kjur/jsrsasign","tags":["package"],"sources":["ghsa"]}],"credits":["Kr0emer"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-03-23T14:37:35.060Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-4602","url":"https://www.cve.org/CVERecord?id=CVE-2026-4602","licence":"CVE Terms of Use","modified":"2026-09-10T12:04:55.802Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8qwj-4jxw-m8jw","url":"https://github.com/advisories/GHSA-8qwj-4jxw-m8jw","licence":"CC-BY-4.0","modified":"2026-07-21T14:00:32.751Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-4602","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4602","licence":"Public domain","modified":"2026-09-10T13:20:22.877Z"}],"updatedAt":"2026-11-25T22:59:16.446Z","epss":{"score":0.00539,"percentile":0.46811,"date":"2026-12-02T12:00:21.000Z"}}