{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "11.1.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e2b136e9eab7d571cb4a680ec10361ddc70fd573"
            },
            {
              "fixed": "ca5b027240287a1e71fe63019fc4400332594323"
            }
          ],
          "repo": "https://github.com/kjur/jsrsasign",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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)).",
  "id": "CVE-2026-4598",
  "modified": "2026-04-01T23:09:04.512631316Z",
  "published": "2026-03-23T06:16:21.300Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://gist.github.com/Kr0emer/a1bf5cd4547cc630d2dcc5e761de8264"
    },
    {
      "type": "WEB",
      "url": "https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15370938"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kjur/jsrsasign/commit/ca5b027240287a1e71fe63019fc4400332594323"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kjur/jsrsasign/pull/648"
    }
  ],
  "severity": [
    {
      "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/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",
      "type": "CVSS_V4"
    }
  ]
}