High
Security advisory
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)).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-4598
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 18:31 UTC · Revision 1
Source evidence
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)).
osv:CVE-2026-4598
Complete source record
{
"id": "6f9c8fa675050c8163551aacc02d32567730e5eb01bb9f54c605236fe2ef9326",
"url": "https://osv.dev/vulnerability/CVE-2026-4598",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2026-4598",
"summary": "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)).",
"evidence": "osv:CVE-2026-4598",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-4598",
"aliases": [
"CVE-2026-4598",
"GHSA-8g7p-jf3g-gxcp"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/kjur/jsrsasign",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "e2b136e9eab7d571cb4a680ec10361ddc70fd573"
},
{
"fixed": "ca5b027240287a1e71fe63019fc4400332594323"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:kjur:jsrsasign:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "11.1.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "ca5b027240287a1e71fe63019fc4400332594323"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"11.1.0",
"11.0.0",
"10.9.0",
"10.8.6",
"10.8.5",
"10.8.4",
"10.8.3",
"10.8.2",
"10.8.1",
"10.8.0",
"10.7.0",
"10.6.1",
"10.6.0",
"10.5.27",
"10.5.26",
"10.5.25",
"10.5.24",
"10.5.23",
"10.5.22",
"10.5.21",
"10.5.20",
"10.5.19",
"10.5.18",
"10.5.17",
"10.5.16",
"10.5.15",
"10.5.14",
"10.5.13",
"10.5.12",
"10.5.11",
"10.5.10",
"10.5.9",
"10.5.8",
"10.5.7",
"10.5.6",
"10.5.5",
"10.5.4",
"10.5.3",
"10.5.2",
"10.5.1",
"10.5.0",
"10.4.1",
"10.4.0",
"10.3.2",
"10.3.1",
"10.3.0",
"10.2.0",
"10.1.13",
"10.1.12",
"10.1.11",
"10.1.10",
"10.1.9",
"10.1.8",
"10.1.5",
"10.1.4",
"10.1.3",
"10.1.2",
"10.1.1",
"10.1.0",
"10.0.5",
"10.0.4",
"10.0.3",
"10.0.2",
"10.0.1",
"10.0.0",
"9.1.9",
"9.1.8",
"9.1.7",
"9.1.6",
"9.1.5",
"9.1.4",
"9.1.2",
"9.1.1",
"9.1.0",
"9.0.3",
"9.0.2",
"9.0.1",
"9.0.0",
"8.0.24",
"8.0.23",
"8.0.22",
"8.0.21",
"8.0.20",
"8.0.19",
"8.0.18",
"8.0.17",
"8.0.16",
"8.0.15",
"8.0.14",
"8.0.13",
"8.0.12",
"8.0.11",
"8.0.10",
"8.0.9",
"8.0.8",
"8.0.7",
"8.0.6",
"8.0.5",
"8.0.4",
"8.0.3",
"8.0.2",
"8.0.1",
"8.0.0",
"7.2.2",
"7.2.1",
"7.2.0",
"7.1.4",
"7.1.3",
"7.1.2",
"7.1.1",
"7.1.0",
"7.0.0",
"6.2.3",
"6.2.2",
"6.2.1",
"6.2.0",
"6.1.4",
"6.1.2",
"6.1.1",
"6.1.0",
"6.0.1",
"6.0.0",
"5.1.0",
"5.0.15",
"5.0.14",
"5.0.13",
"5.0.12",
"5.0.11",
"5.0.10",
"5.0.9",
"5.0.8",
"5.0.7",
"5.0.6",
"5.0.5",
"5.0.4",
"5.0.2",
"5.0.1",
"5.0.0",
"4.9.2",
"4.9.1",
"4.9.0",
"4.8.6",
"4.8.5",
"4.8.3",
"4.8.2",
"4.8.1",
"4.8.0",
"4.7.2",
"4.7.1",
"4.7.0",
"4.6.0",
"4.5.0",
"4.2.3",
"4.2.2",
"4.2.1",
"4.2.0",
"4.1.6",
"4.1.5",
"4.1.4",
"4.1.3",
"4.1.2",
"4.1.1",
"4.1.0",
"4.0.5",
"4.0.4",
"4.0.3",
"4.0.2",
"4.0.1",
"4.0.0",
"3.1.5",
"3.1.4",
"3.1.3",
"3.1.2",
"3.1.1",
"3.1.0",
"3.0.5",
"3.0.4",
"3.0.3",
"3.0.2",
"3.0.1",
"3.0.0",
"2.0.0",
"1.3.1",
"1.3.0",
"1.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-4598.json"
}
}
],
"modified": "2026-10-28T02:30:38.420847693Z",
"provider": "osv",
"references": [
"https://gist.github.com/Kr0emer/a1bf5cd4547cc630d2dcc5e761de8264",
"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4598.json",
"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-15812263",
"https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15370938",
"https://access.redhat.com/errata/RHSA-2026:19375",
"https://access.redhat.com/errata/RHSA-2026:19409",
"https://access.redhat.com/errata/RHSA-2026:19410",
"https://access.redhat.com/errata/RHSA-2026:22840",
"https://access.redhat.com/errata/RHSA-2026:23361",
"https://access.redhat.com/errata/RHSA-2026:6568",
"https://access.redhat.com/errata/RHSA-2026:6720",
"https://access.redhat.com/security/cve/CVE-2026-4598",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4598.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-4598",
"https://bugzilla.redhat.com/show_bug.cgi?id=2450210",
"https://github.com/kjur/jsrsasign/commit/ca5b027240287a1e71fe63019fc4400332594323",
"https://github.com/kjur/jsrsasign/pull/648"
],
"provider_metadata": {
"cwe_ids": [
"CWE-835"
],
"cna_assigner": "snyk",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "*"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4598.json"
}
},
"related_cves": [
{
"value": "CVE-2026-4598",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505720,
"published_at": "2026-03-23T05:00:11.571+00:00"
}