CVE-2025-12816 CVE-2025-12816
Attackers can bypass cryptographic verifications and security decisions by crafting ASN.1 structures that desynchronize schema validations in node-forge.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-12816?
CVE-2025-12816 is a high-severity vulnerability in Digital Bazaar forge, published on 25 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-436
Which versions are affected by CVE-2025-12816?
2 open source packages ship an affected version, including node-forge. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
node-forge npm | All versions | 1.3.2 |
node-forge npm | All versions | 1.3.2 |
Products include Digitalbazaar Forge.
How do I fix CVE-2025-12816?
Upgrade node-forge to 1.3.2 or later.
Is CVE-2025-12816 being exploited?
There is no known exploitation of CVE-2025-12816 in the wild and no public exploit code.
Other vulnerabilities in Digital Bazaar forge
- CVE-2020-7720 Prototype Pollution
- CVE-2025-66031 node-forge ASN.1 Unbounded Recursion
- CVE-2026-33891 Forge has Denial of Service via Infinite Loop in BigInteger.modInverse() with Zero Input
- CVE-2026-33894 Forge has signature forgery in RSA-PKCS due to ASN.1 extra field
- CVE-2026-33895 Forge has signature forgery in Ed25519 due to missing S > L check
Sources
Also known as AZL-71125, CLEANSTART-2026-FR00893, CLEANSTART-2026-UI22412, DEBIAN-CVE-2025-12816, GHSA-5gfm-wpxj-wjgq, MINI-4xpq-g55j-2p2f and 14 more.