CVE-2026-4598 PUBLISHED

Assigner: snyk
Reserved: 22.03.2026 Published: 23.03.2026 Updated: 23.03.2026

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

Metrics

CVSS 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
CVSS Score: 8.7

Product Status

Vendor n/a
Product jsrsasign
Versions
  • affected from 0 to 11.1.1 (excl.)

Credits

  • Kr0emer

References

Problem Types

  • Infinite loop