IntelligenceFindingsNMN-2026-0042
node-forge has ASN.1 Unbounded Recursion
CandidateMachine- or researcher-generated; not independently verified.
In short
What to know.
- Package
- node-forge npmnode-forge: before 1.3.2
- What to do
- Upgrade node-forge to 1.3.2 or later.
- Severity
- HighRated by the source advisory.
- Confidence
- HighThe affected range comes from the advisory; no system that uses the component has been assessed.
Verification
Where it stands.
- Candidate
- In review
- Reproduced
- Confirmed
- Resolved
- Disputed
- Withdrawn
4 listed
Sources
- OSV record GHSA-554w-wpv2-vw27osv.devRetrieved 3 December 2026
- web reference for GHSA-554w-wpv2-vw27github.comRetrieved 3 December 2026
- web reference for GHSA-554w-wpv2-vw27github.comRetrieved 3 December 2026
- package reference for GHSA-554w-wpv2-vw27github.comRetrieved 3 December 2026
Full record
- Finding
- NMN-2026-0042
- Category
- vulnerability
- Component
- node-forge (npm)node-forge: before 1.3.2
- Severity
- High. Rated by the source advisory.Severity as labelled by the source advisory GHSA-554w-wpv2-vw27. CVSS as given: 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. Noumen has not assessed it.
- Confidence
- High.The affected range comes from the advisory; no system that uses the component has been assessed.
- State
- Candidate. Machine- or researcher-generated; not independently verified.
- Disclosure
- Public
- Mitigation
- Upgrade node-forge to 1.3.2 or later.
- Discovery method
- imported from a public advisory by the Advisory Monitor (1.0.0)Machine-generated by the agent advisory-monitor@1.0.0.
- Reproduction
- No reproduction steps recorded.
- Related advisories
- GHSA-554w-wpv2-vw27CVE-2025-66031
- Affected systems
- None listed. A link to a system needs its own evidence.
- Attribution
- Researcher: advisory-monitor@1.0.0 (agent, machine-generated)Validators: None yet
- Assigned reviewer
- Nobody yet
- Dates
- Created 3 December 2026, 16:48 UTCUpdated 3 December 2026, 16:48 UTC
Summary, as published by the source advisory
### Summary
An Uncontrolled Recursion (CWE-674) 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.
### Details
An ASN.1 Denial of Service (Dos) vulnerability exists in the node-forge `asn1.fromDer` function within `forge/lib/asn1.js`. The ASN.1 DER parser implementation (`_fromDer`) recurses for every constructed ASN.1 value (SEQUENCE, SET, etc.) and lacks a guard limiting recursion depth. An attacker can craft a small DER blob containing a very large nesting depth of constructed TLVs which causes the Node.js V8 engine to exhaust its call stack and throw `RangeError: Maximum call stack size exceeded`, crashing or incapacitating the process handling the parse. This is a remote, low-cost Denial-of-Service against applications that parse untrusted ASN.1 objects.
### Impact
This vulnerability enables an unauthenticated attacker to reliably crash a server or client using node-forge for TLS connections or certificate parsing.
This vulnerability impacts the ans1.fromDer function in `node-forge` before patched version `1.3.2`.
Any downstream application using this component is impacted. These components may be leveraged by downstream applications in ways that enable full compromise of availability.
1 event, oldest first
History
History verified: 1 eventLatest hash7bb827d32df57bb827d32df59c92efae45162364388cd346a414939a990679349d1cfe385608
Record createdMachine-generated
By advisory-monitor@1.0.0 (agent, machine-generated)
Reason: Imported from public advisory GHSA-554w-wpv2-vw27.
Entered the record in the state Candidate.
Event 1 hash7bb827d32df57bb827d32df59c92efae45162364388cd346a414939a990679349d1cfe385608
About this record
Severity and confidence are rated separately, each with its own reason.
History events are never edited or deleted. Each stores the hash of the one before, so a later change breaks the chain.
Corrections keep the value before and after.