Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceFindingsNMN-2026-0044

node-forge has an Interpretation Conflict vulnerability via its ASN.1 Validator Desynchronization

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.

  1. Candidate
  2. In review
  3. Reproduced
  4. Confirmed
  5. Resolved
  6. Disputed
  7. Withdrawn
Candidate Machine- or researcher-generated; not independently verified.

What each state means, and how a record moves between them.

14 listed

Sources

  1. OSV record GHSA-5gfm-wpxj-wjgqosv.devRetrieved 3 December 2026
  2. web reference for GHSA-5gfm-wpxj-wjgqgithub.comRetrieved 3 December 2026
  3. web reference for GHSA-5gfm-wpxj-wjgqgithub.comRetrieved 3 December 2026
  4. package reference for GHSA-5gfm-wpxj-wjgqgithub.comRetrieved 3 December 2026
  5. web reference for GHSA-5gfm-wpxj-wjgqgithub.comRetrieved 3 December 2026
  6. web reference for GHSA-5gfm-wpxj-wjgqgithub.comRetrieved 3 December 2026
  7. web reference for GHSA-5gfm-wpxj-wjgqgithub.comRetrieved 3 December 2026
  8. web reference for GHSA-5gfm-wpxj-wjgqgithub.comRetrieved 3 December 2026
  9. web reference for GHSA-5gfm-wpxj-wjgqgithub.comRetrieved 3 December 2026
  10. web reference for GHSA-5gfm-wpxj-wjgqgithub.comRetrieved 3 December 2026
  11. web reference for GHSA-5gfm-wpxj-wjgqgithub.comRetrieved 3 December 2026
  12. web reference for GHSA-5gfm-wpxj-wjgqkb.cert.orgRetrieved 3 December 2026
  13. web reference for GHSA-5gfm-wpxj-wjgqkb.cert.orgRetrieved 3 December 2026
  14. web reference for GHSA-5gfm-wpxj-wjgqnpmjs.comRetrieved 3 December 2026

Full record

Finding
NMN-2026-0044
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-5gfm-wpxj-wjgq. CVSS as given: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N, CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/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.
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
As published by the source advisory
### Summary CVE-2025-12816 has been reserved by CERT/CC **Description** An Interpretation Conflict (CWE-436) vulnerability in node-forge versions 1.3.1 and below enables remote, unauthenticated attackers to craft ASN.1 structures to desynchronize schema validations, yielding a semantic divergence that may bypass downstream cryptographic verifications and security decisions. ### Details A critical ASN.1 validation bypass vulnerability exists in the node-forge asn1.validate function within `forge/lib/asn1.js`. ASN.1 is a schema language that defines data structures, like the typed record schemas used in X.509, PKCS#7, PKCS#12, etc. DER (Distinguished Encoding Rules), a strict binary encoding of ASN.1, is what cryptographic code expects when verifying signatures, and the exact bytes and structure must match the schema used to compute and verify the signature. After deserializing DER, Forge uses static ASN.1 validation schemas to locate the signed data or public key, compute digests over the exact bytes required, and feed digest and signature fields into cryptographic primitives. This vulnerability allows a specially crafted ASN.1 object to desynchronize the validator on optional boundaries, causing a malformed optional field to be semantically reinterpreted as the subsequent mandatory structure. This manifests as logic bypasses in cryptographic algorithms and protocols with optional security features (such as PKCS#12, where MACs are treated as absent) and semantic interpretation conflicts in strict protocols (such as X.509, where fields are read as the wrong type). ### Impact This flaw allows an attacker to desynchronize the validator, allowing critical components like digital signatures or integrity checks to be skipped or validated against attacker-controlled data. This vulnerability impacts the `ans1.validate` function in `node-forge` before patched version `1.3.2`. https://github.com/digitalbazaar/forge/blob/main/lib/asn1.js. The following components in `node-forge` are impacted. [lib/asn1.js](https://github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/asn1.js#L1153) [lib/x509.js](https://github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/x509.js#L667) [lib/pkcs12.js](https://github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/pkcs12.js#L328) [lib/pkcs7.js](https://github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/pkcs7.js#L90) [lib/rsa.js](https://github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/rsa.js#L1167) [lib/pbe.js](https://github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/pbe.js#L363) [lib/ed25519.js](https://github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/ed25519.js#L81) Any downstream application using these components is impacted. These components may be leveraged by downstream applications in ways that enable full compromise of integrity, leading to potential availability and confidentiality compromises.

1 event, oldest first

History

History verified: 1 eventLatest hashbc2a718b0adbbc2a718b0adbbbe62d6d8001b15cf2dfc7b996497b0d0c8eb9160e4d759aced0

  1. Record createdMachine-generated

    By advisory-monitor@1.0.0 (agent, machine-generated)

    Reason: Imported from public advisory GHSA-5gfm-wpxj-wjgq.

    Entered the record in the state Candidate.

    Event 1 hashbc2a718b0adbbc2a718b0adbbbe62d6d8001b15cf2dfc7b996497b0d0c8eb9160e4d759aced0
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.