CVE-2025-12816: node-forge has an Interpretation Conflict vulnerability via its ASN.1 Validator Desynchronization
Affects node-forgeSource GCVE Database
Not known to be exploited · CVSS 8.6 High : upgrade to 1.3.2 soon.
Data as of 19 Nov 2026, 02:43 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 8.6 |
|---|
- Patch
- Available – fixed in 1.3.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.
What to do
Upgrade node-forge to 1.3.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmnode-forge | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in node-forge version 1.3.2 that fixes this ASN.1 validation bypass vulnerability. Users and downstream applications should upgrade to version 1.3.2 or later to remediate this issue. No additional mitigation steps are indicated by the vendor advisory.
Description
CVE-2025-12816 is a high-severity vulnerability in node-forge versions before 1.3.2 that allows remote attackers to craft ASN.1 structures causing desynchronization in schema validation. This leads to semantic interpretation conflicts that can bypass cryptographic verifications and security decisions. The flaw affects the asn1.validate function and impacts multiple cryptographic components, potentially allowing attackers to skip or manipulate signature and integrity checks.
References
- github.com/digitalbazaar/forge/security/advisories/GHSA-5gfm-wpxj-wjgq (opens in a new tab)
- github.com/digitalbazaar/forge/pull/1124 (opens in a new tab)
- github.com/digitalbazaar/forge (opens in a new tab)
- github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/asn1.js (opens in a new tab)
- github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/ed25519.js (opens in a new tab)
- github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/pbe.js (opens in a new tab)
- github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/pkcs12.js (opens in a new tab)
- github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/pkcs7.js (opens in a new tab)
- github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/rsa.js (opens in a new tab)
- github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/x509.js (opens in a new tab)
- kb.cert.org/vuls/id/521113 (opens in a new tab)
- kb.cert.org/vuls/id/521113 (opens in a new tab)
- npmjs.com/package/node-forge (opens in a new tab)