CVE-2025-12816
CVE-2025-12816
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.
INFO
Published Date :
Nov. 25, 2025, 8:15 p.m.
Last Modified :
Jan. 2, 2026, 7:02 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2025-12816
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Update node-forge to the latest version.
- Verify all ASN.1 structures are correctly parsed.
- Ensure downstream security decisions are validated.
Public PoC/Exploit Available at Github
CVE-2025-12816 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-12816.
| URL | Resource |
|---|---|
| https://github.com/digitalbazaar/forge | Product |
| https://github.com/digitalbazaar/forge/pull/1124 | Issue Tracking Patch |
| https://github.com/digitalbazaar/forge/security/advisories/GHSA-5gfm-wpxj-wjgq | Exploit Vendor Advisory |
| https://kb.cert.org/vuls/id/521113 | Third Party Advisory |
| https://www.npmjs.com/package/node-forge | Product |
| https://www.kb.cert.org/vuls/id/521113 | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-12816 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-12816
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
A template to quickly set up demos or lightweight focus projects
HTML CSS TypeScript
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-12816 vulnerability anywhere in the article.
-
BleepingComputer
Popular Forge library gets fix for signature verification bypass flaw
A vulnerability in the ‘node-forge’ package, a popular JavaScript cryptography library, could be exploited to bypass signature verifications by crafting data that appears valid. The flaw is tracked as ... Read more
The following table lists the changes that have been made to the
CVE-2025-12816 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Reanalysis by [email protected]
Jan. 02, 2026
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:digitalbazaar:node-forge:*:*:*:*:*:node.js:*:* versions up to (including) 1.3.1 OR *cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:* versions up to (including) 1.3.1 -
Initial Analysis by [email protected]
Dec. 30, 2025
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:digitalbazaar:node-forge:*:*:*:*:*:node.js:*:* versions up to (including) 1.3.1 Added Reference Type CERT/CC: https://github.com/digitalbazaar/forge Types: Product Added Reference Type CERT/CC: https://github.com/digitalbazaar/forge/pull/1124 Types: Issue Tracking, Patch Added Reference Type CERT/CC: https://github.com/digitalbazaar/forge/security/advisories/GHSA-5gfm-wpxj-wjgq Types: Exploit, Vendor Advisory Added Reference Type CERT/CC: https://kb.cert.org/vuls/id/521113 Types: Third Party Advisory Added Reference Type CERT/CC: https://www.npmjs.com/package/node-forge Types: Product Added Reference Type CVE: https://www.kb.cert.org/vuls/id/521113 Types: Third Party Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Nov. 25, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N Added CWE CWE-436 -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 25, 2025
Action Type Old Value New Value Added Reference https://www.kb.cert.org/vuls/id/521113 -
New CVE Received by [email protected]
Nov. 25, 2025
Action Type Old Value New Value Added 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. Added Reference https://github.com/digitalbazaar/forge Added Reference https://github.com/digitalbazaar/forge/pull/1124 Added Reference https://github.com/digitalbazaar/forge/security/advisories/GHSA-5gfm-wpxj-wjgq Added Reference https://kb.cert.org/vuls/id/521113 Added Reference https://www.npmjs.com/package/node-forge