{"schemaVersion":3,"id":"CVE-2026-4598","aliases":["GHSA-8g7p-jf3g-gxcp"],"status":"published","duplicateOf":null,"title":null,"description":"Versions of the package jsrsasign before 11.1.1 are vulnerable to Infinite loop via the bnModInverse function in ext/jsbn2.js when the BigInteger.modInverse implementation receives zero or negative inputs, allowing an attacker to hang the process permanently by supplying such crafted values (e.g., modInverse(0, m) or modInverse(-1, m)).","dates":{"published":"2026-03-23T05:00:11.571Z","modified":"2026-09-10T12:04:56.585Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.7,"severity":"high","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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01002,"percentile":0.625,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.45499999999999996,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00547},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00547,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00547,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00547,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00547,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00547,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00547,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00547,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00547,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00547,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00547,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01002,"percentile":0.625}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00547,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00547,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00547,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01002,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01002,"percentile":0.625}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_KR0EMER_A1BF5CD4547CC630D2DCC5E761DE8264","name":"A1Bf5Cd4547Cc630D2Dcc5E761De8264","source":"github","url":"https://gist.github.com/Kr0emer/a1bf5cd4547cc630d2dcc5e761de8264","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition ('Infinite Loop')","description":"The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/835.html"},{"id":"CWE-1287","name":"Improper Validation of Specified Type of Input","description":"The product receives input that is expected to be of a certain type, but it does not validate or incorrectly validates that the input is actually of the expected type.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1287.html"}],"affected":[{"vendor":"kjur","product":"jsrsasign","name":"jsrsasign","label":"jsrsasign","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 11.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 11.1.1","eol":null,"hubHref":"/vendor/kjur/jsrsasign"},{"vendor":"Npm","product":"jsrsasign","name":"jsrsasign","label":"jsrsasign","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/jsrsasign","purlType":"npm","versions":[{"text":"< 11.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 11.1.1","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15370938","label":"security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15370938","hostname":"security.snyk.io","tags":["WEB","Third Party Advisory"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-15812263","label":"security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-15812263","hostname":"security.snyk.io","tags":["WEB"]},{"url":"https://gist.github.com/Kr0emer/a1bf5cd4547cc630d2dcc5e761de8264","label":"gist.github.com/Kr0emer/a1bf5cd4547cc630d2dcc5e761de8264","hostname":"gist.github.com","tags":["WEB","Exploit","Mitigation","Third Party Advisory"]},{"url":"https://github.com/kjur/jsrsasign/pull/648","label":"github.com/kjur/jsrsasign/pull/648","hostname":"github.com","tags":["WEB","Issue Tracking"]},{"url":"https://github.com/kjur/jsrsasign/commit/ca5b027240287a1e71fe63019fc4400332594323","label":"github.com/kjur/jsrsasign/commit/ca5b027240287a1e71fe63019fc4400332594323","hostname":"github.com","tags":["WEB","Patch"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-4598","label":"access.redhat.com/security/cve/CVE-2026-4598","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","WEB"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2450210","label":"bugzilla.redhat.com/show_bug.cgi?id=2450210","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","WEB"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4598.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4598.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19409","label":"access.redhat.com/errata/RHSA-2026:19409","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19410","label":"access.redhat.com/errata/RHSA-2026:19410","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2026:22840","label":"access.redhat.com/errata/RHSA-2026:22840","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6720","label":"access.redhat.com/errata/RHSA-2026:6720","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6568","label":"access.redhat.com/errata/RHSA-2026:6568","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19375","label":"access.redhat.com/errata/RHSA-2026:19375","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2026:23361","label":"access.redhat.com/errata/RHSA-2026:23361","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4598","label":"nvd.nist.gov/vuln/detail/CVE-2026-4598","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/kjur/jsrsasign","label":"github.com/kjur/jsrsasign","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-03-23T05:00:11.571Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-10T12:04:56.585Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":45,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T08:18:41.031Z","stale":false,"partial":false}}