Vulnerabilities/

Forge has Denial of Service via Infinite Loop in BigInteger.modInverse() with Zero Input

Severity:
High

Description

A Denial of Service (DoS) vulnerability exists in the node-forge library due to an infinite loop in the BigInteger.modInverse() function (inherited from the bundled jsbn library).

Recommendation

Update the node-forge package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
node-forge
Anything's wrong? Let us know Last updated on March 27, 2026