Improper Verification of Cryptographic Signature in node-forge - CVE-2026-33894

 

Improper Verification of Cryptographic Signature in node-forge - CVE-2026-33894

Published: November 6, 2026


Vulnerability identifier: #VU159761
CSH Severity: Medium
CVSS v4: 8.7 [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]
CVE-ID: CVE-2026-33894
CWE-ID: CWE-347
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated remote attacker to forge RSA signatures accepted as valid by node-forge when verification uses keys with public exponent 3.

The vulnerability exists due to acceptance of extra fields within the ASN.1 DigestInfo structure during default RSASSA-PKCS1-v1_5 signature verification, even with strict parsing enabled. An unauthenticated remote attacker can embed attacker-controlled bytes in an additional field to construct a signature that passes verification without possessing the private key.


Affected software

node-forge

How to mitigate CVE-2026-33894

Install security update from vendor's website.

node-forge - update to 1.4.0

External References

Related Security Bulletins