Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. node-forge
  4. ›
  5. CVE-2026-85393

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

September 3, 2026 (updated October 1, 2026)

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.

References

  • github.com/advisories/GHSA-86w9-cpqp-85rv
  • github.com/advisories/GHSA-ppp5-5v6c-4jwp
  • github.com/digitalbazaar/forge/blob/v1.4.0/lib/asn1.js
  • github.com/digitalbazaar/forge/blob/v1.4.0/lib/rsa.js
  • github.com/digitalbazaar/forge/issues/1149
  • github.com/digitalbazaar/forge/pull/1152
  • nvd.nist.gov/vuln/detail/CVE-2026-85393
  • www.vulncheck.com/advisories/node-forge-through-1.4.0-rsa-pkcs-1-1.5-signature-forgery-via-nested-digestalgorithm-padding

Code Behaviors & Features

Detect and mitigate CVE-2026-85393 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.4.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature

Source file

npm/node-forge/CVE-2026-85393.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 02 Oct 2026 00:18:43 +0000.