IntelligenceFindingsNMN-2026-0048
node-forge is vulnerable to ASN.1 OID Integer Truncation
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
- ModerateRated 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
5 listed
Sources
- OSV record GHSA-65ch-62r8-g69gosv.devRetrieved 3 December 2026
- web reference for GHSA-65ch-62r8-g69ggithub.comRetrieved 3 December 2026
- advisory reference for GHSA-65ch-62r8-g69gnvd.nist.govRetrieved 3 December 2026
- web reference for GHSA-65ch-62r8-g69ggithub.comRetrieved 3 December 2026
- package reference for GHSA-65ch-62r8-g69ggithub.comRetrieved 3 December 2026
Full record
- Finding
- NMN-2026-0048
- Category
- vulnerability
- Component
- node-forge (npm)node-forge: before 1.3.2
- Severity
- Moderate. Rated by the source advisory.Severity as labelled by the source advisory GHSA-65ch-62r8-g69g. CVSS as given: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/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-65ch-62r8-g69gCVE-2025-66030
- 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
**MITRE-Formatted CVE Description**
An Integer Overflow (CWE-190) vulnerability in node-forge versions 1.3.1 and below enables remote, unauthenticated attackers to craft ASN.1 structures containing OIDs with oversized arcs. These arcs may be decoded as smaller, trusted OIDs due to 32-bit bitwise truncation, enabling the bypass of downstream OID-based security decisions.
### Description
An ASN.1 OID Integer Truncation vulnerability exists in the node-forge `asn1.derToOid` function within `forge/lib/asn1.js`. OID components are decoded using JavaScript's bitwise left-shift operator (`<<`), which forcibly casts values to 32-bit signed integers. Consequently, if an attacker provides a mathematically unique, very large OID arc integer exceeding $2^{31}-1$, the value silently overflows and wraps around rather than throwing an error.
### Impact
This vulnerability allows a specially crafted ASN.1 object to spoof an OID, where a malicious certificate with a massive, invalid OID is misinterpreted by the library as a trusted, standard OID, potentially bypassing security controls.
This vulnerability impacts the `asn1.derToOid` function in `node-forge` before patched version `1.3.2`.
Any downstream application using this component is impacted. This component may be leveraged by downstream applications in ways that enables partial compromise of integrity, leading to potential availability and confidentiality compromises.
1 event, oldest first
History
History verified: 1 eventLatest hasha3683cf047b2a3683cf047b29dd9748c78ba40471cfbbea7bf52d66098af911848bff6bbb973
Record createdMachine-generated
By advisory-monitor@1.0.0 (agent, machine-generated)
Reason: Imported from public advisory GHSA-65ch-62r8-g69g.
Entered the record in the state Candidate.
Event 1 hasha3683cf047b2a3683cf047b29dd9748c78ba40471cfbbea7bf52d66098af911848bff6bbb973
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.