GitHub Advisoryadvisory · npm

GHSA-86w9-cpqp-85rv node-forge RSA PKCS#1 v1.5 signature verification accepts extra nested DigestAlgorithm elements

HIGH Published 2026-09-03 Modified 2026-10-01 Official page ↗
Aliases
CVE-2026-85393
Ecosystem
npm
Packages
node-forge
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-347
Reviewed
2026-10-01

Affected packages

• npm node-forge: <= 1.4.0 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2026-85393 node-forge through 1.4.0 fails to validate element count in nested DigestAlgorithm sequences during RSA PKCS#1 v1.5 signature verification. vulnerability

Weakness · CWE (1)

  • CWE-347 Improper Verification of Cryptographic Signature weakness

References