Interpretation conflict in node-forge - CVE-2025-12816

 

Interpretation conflict in node-forge - CVE-2025-12816

Published: December 4, 2025


Vulnerability identifier: #VU119131
CSH Severity: Medium
CVSS v4.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/E:U/U:Green
CVE-ID: CVE-2025-12816
CWE-ID: CWE-436
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Synex Technologies
Affected software:
node-forge

Detailed vulnerability description

The vulnerability allows a remote attacker to bypass downstream cryptographic verification and security decisions.

The vulnerability exists due to incorrect validation of ASN.1 structures within the asn1.validate() function in forge/lib/asn1.js. A remote non-authenticated attacker can use specially crafted ASN.1 structures to desynchronize DER schema validations and bypass downstream cryptographic verification and security decisions.


How to mitigate CVE-2025-12816

Install updates from vendor's website.

Sources