cve.bz

CVE-2025-66031 digitalbazaar forge: Uncontrolled Recursion

8.7 highEPSS 0.4%Fix available

High (8.7) in digitalbazaar forge. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in node-forge 1.3.2.

On this page
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.

Severity

CVSS 4.0

8.7 high
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-11-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-674 Uncontrolled Recursion
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-66031 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-66031?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-66031?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-66031 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
digitalbazaar:forgebefore 1.3.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-554w-wpv2-vw27npmnode-forge<1.3.21.3.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11node-node-forgeno fix listedDEBIAN-CVE-2025-66031
Ubuntu20.04:LTS, 22.04:LTSnode-node-forgeno fix listedUBUNTU-CVE-2025-66031
Azure Linux2reaper3.1.1-21AZL-71134

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Migration Toolkit for Virtualization 2.9migration-toolkit-virtualization/mtv-console-plugin-rhel9:1769034026Fixed 2026-01-26RHSA-2026:1248
Network Observability (NETOBSERV) 1.11.0network-observability/network-observability-console-plugin-compat-rhel9:1771227610Fixed 2026-02-18RHSA-2026:2900
Network Observability (NETOBSERV) 1.11.0network-observability/network-observability-console-plugin-rhel9:1771227650Fixed 2026-02-18RHSA-2026:2900
Red Hat Advanced Cluster Security 4.8advanced-cluster-security/rhacs-main-rhel8:1769615659Fixed 2026-01-28RHSA-2026:1517
Red Hat Advanced Cluster Security 4.9advanced-cluster-security/rhacs-main-rhel8:1770250889Fixed 2026-02-09RHSA-2026:2350
Red Hat Advanced Cluster Security 4.9advanced-cluster-security/rhacs-main-rhel8:1770074713Fixed 2026-02-11RHSA-2026:2568
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/lightspeed-rhel9:1768889838Fixed 2026-01-29RHSA-2026:1596
Red Hat Ceph Storage 8rhceph/grafana-rhel9:1770630607Fixed 2026-02-16RHSA-2026:2737
Red Hat Developer Hub 1.7rhdh/rhdh-hub-rhel9:1.7.4-1767715042Fixed 2026-01-07RHSA-2026:0261
Red Hat Developer Hub 1.8rhdh/rhdh-hub-rhel9:1.8.1-1764857949Fixed 2025-12-08RHSA-2025:22861
Cryostat 4io.cryostat-cryostatNot affected
Gatekeeper 3gatekeeper/gatekeeper-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel9Will not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-operator-bundleWill not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-proxy-rhel9Will not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-rhel9-operatorWill not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/kibana6-rhel8Will not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-curator5-rhel9Will not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-view-plugin-rhel9Will not fix
Migration Toolkit for Virtualizationmtv-candidate/mtv-console-plugin-rhel9Affected
222 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-66031.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-071-03Siemens SIDIS Prime2026-03-10Critical ManufacturingSIDIS Primenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON