HIGH 7.5 npm

node-forge RSA PKCS#1 v1.5 signature verification accepts extra nested DigestAlgorithm elements

GHSA-86w9-cpqp-85rv · CVE-2026-85393

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

node-forge through 1.4.0 fails to validate element count in nested DigestAlgorithm sequences during RSA PKCS#1 v1.5 signature verification. Attackers can embed garbage bytes inside the DigestAlgorithm sequence to forge valid signatures for arbitrary messages using low-exponent RSA keys. This is an incomplete fix for CVE-2026-33894.

Ready to move

Start Securing

Free, no credit card | First findings in minutes