Skip to main content
CVE-2025-66031VulnerabilityPublished Updated

CVE-2025-66031: digitalbazaar forge · Uncontrolled Recursion

Affects digitalbazaar forgeSource CVE Database V5

0

Not known to be exploited · CVSS 8.7 High : upgrade to 1.3.2 soon.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.3.2
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade node-forge to 1.3.2.

Affected software

ProductAffectedFixed in
npmnode-forgepkg:npm/node-forgeOther threatsAffected
  • <1.3.2
Fixed in
  • 1.3.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The primary mitigation is to upgrade all instances of the digitalbazaar forge (node-forge) library to version 1.3.2 or later, where the vulnerability has been patched. Organizations should audit their software dependencies to identify and update any affected versions. Additionally, implement input validation to restrict the maximum recursion depth or nesting level of ASN.1 structures before parsing. Employ runtime monitoring and anomaly detection to identify unusual parsing behavior or excessive resource consumption indicative of an attack. For web-facing services, consider deploying Web Application Firewalls (WAFs) with rules to detect and block malformed ASN.1 DER payloads. Developers should review and harden any custom ASN.1 parsing code to prevent similar recursion issues. Finally, maintain an incident response plan to quickly address potential DoS incidents and ensure system redundancy to minimize downtime.

Description

Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. An Uncontrolled Recursion vulnerability in node-forge versions 1.3.1 and below enables remote, unauthenticated attackers to craft deep ASN.1 structures that trigger unbounded recursive parsing. This leads to a Denial-of-Service (DoS) via stack exhaustion when parsing untrusted DER inputs. This issue has been patched in version 1.3.2.

References

Community reviews

Loading reviews…