CVE-2025-66031CWE-674

CVE-2025-66031

High · published November 27, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
36.1
In the wild
Unconfirmed
What it is

⚡ An attacker can exploit a single crafted ASN.1 structure to launch a Denial-of-Service attack on systems using node-forge v1.3.1 and below! 🔥 Think of it like trying to read a book where the pages keep folding in on themselves — the deeper you get, the harder it is to escape the never-ending confusion! This uncontrolled recursion can overwhelm your system's ability to parse data. An attacker could trigger a stack exhaustion, causing your application to crash and effectively making it unavailable. This means your users might experience downtime, leading to lost trust and productivity. In a world where every second counts, a DoS attack like this can be absolutely devastating!

Put simply

Think of it like trying to read a book where the pages keep folding in on themselves — the deeper you get, the harder it is to escape the never-ending confusion! This uncontrolled recursion can overwhelm your system's ability to parse data. This vulnerability in node-forge allows attackers to exploit unbounded recursive parsing of deep ASN.1 structures. When maliciously crafted DER inputs are processed, the system can run out of stack space, resulting in a Denial-of-Service condition.

What to do

An attacker could trigger a stack exhaustion, causing your application to crash and effectively making it unavailable. This means your users might experience downtime, leading to lost trust and productivity. In a world where every second counts, a DoS attack like this can be absolutely devastating! Upgrade node-forge to version 1.3.2 immediately to patch this vulnerability. Additionally, ensure to validate and sanitize all user inputs to reduce the risk of similar exploits. It's a good idea to keep your dependencies up to date regularly! You've got this! Follow these steps, and you'll secure your application in no time! 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00430 · 36.1th percentile
Weakness
CWE-674 · Uncontrolled Recursion
Published
2025-11-27T04:15Z
Affected products (1)
ProductVersionsFixed in
digitalbazaar/forge< 1.3.21.3.2
References (2)
EPSS history
Timeline
  • 26 NOV 22:23Z
    node-forge ASN.1 Unbounded Recursion
    cvelistv5