Uncontrolled Recursion Affecting org.mvnpm:node-forge package, versions [,1.3.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.81% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGMVNPM-22733503
  • published23 Nov 2026
  • disclosed26 Nov 2025
  • creditwodzen

Introduced: 26 Nov 2025

CVE-2025-66031  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade org.mvnpm:node-forge to version 1.3.2 or higher.

Overview

org.mvnpm:node-forge is a JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.

Affected versions of this package are vulnerable to Uncontrolled Recursion via the fromDer function in asn1.js, which lacks recursion depth. An attacker can cause stack exhaustion and disrupt service availability by submitting specially crafted, deeply nested DER-encoded ASN.1 data.

References

CVSS Base Scores

version 4.0
version 3.1