CVE-2025-12816
HIGH 8.6CVSS 3.1node-forge has an Interpretation Conflict vulnerability via its ASN.1 Validator Desynchronization
An interpretation-conflict (CWE-436) vulnerability in node-forge versions 1.3.1 and earlier enables unauthenticated attackers to craft ASN.1 structures to desynchronize schema validations, yielding a semantic divergence that may bypass downstream cryptographic verifications and security decisions.
- Published
- 25 Nov 2025
- Last modified
- 18 Oct 2026
- Assigned by
- cret@cert.org
- NVD status
- Analyzed
- Weakness
- CWE-436
- Also known as
- GHSA-5gfm-wpxj-wjgq
- Sources
- NVDJSONOSV GHSA-5gfm-wpxj-wjgqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | digitalbazaar | forgecpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:* |
<= 1.3.1 | |
| OSV | npm | node-forge | < 1.3.2 | 1.3.2 |
References
- https://github.com/digitalbazaar/forge · Product, PACKAGE
- https://github.com/digitalbazaar/forge/pull/1124 · Issue Tracking, Patch, WEB
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-5gfm-wpxj-wjgq · Exploit, Vendor Advisory, WEB
- https://kb.cert.org/vuls/id/521113 · Third Party Advisory, WEB
- https://www.npmjs.com/package/node-forge · Product, WEB
- https://www.kb.cert.org/vuls/id/521113 · Third Party Advisory, WEB
- https://github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/asn1.js#L1153 · WEB
- https://github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/ed25519.js#L81 · WEB
- https://github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/pbe.js#L363 · WEB
- https://github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/pkcs12.js#L328 · WEB
- https://github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/pkcs7.js#L90 · WEB
- https://github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/rsa.js#L1167 · WEB
- https://github.com/digitalbazaar/forge/blob/2bb97afb5058285ef09bcf1d04d6bd6b87cffd58/lib/x509.js#L667 · WEB
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 25 Nov 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 26 Nov 2025)