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)).

Affected Software

VendorProductVersion RangeStatus
n/ajsrsasign0 < 11.1.1affected
n/aorg.webjars.npm:jsrsasign0 < *affected

Weaknesses

  • CWE-835: Infinite loop

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: yes
    • Technical Impact: partial

jsrsasign: jsrsasign: Denial of Service via infinite loop in bnModInverse function with crafted inputs

Additional References

References