node-forge RSA PKCS#1 v1.5 signature verification accepts extra nested DigestAlgorithm elements
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.
01
describes (2)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-85393US | high7.5 | — | ||
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… | ||||
| CVE-2026-33894US | — | — | ||
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.4.0, RSASSA PKCS#1 v1.5 signature verification accepts for… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/advisories/GHSA-ppp5-5v6c-4jwpADVISORY
- https://github.com/digitalbazaar/forgePACKAGE
- https://github.com/digitalbazaar/forge/blob/v1.4.0/lib/asn1.jsWEB
- https://github.com/digitalbazaar/forge/blob/v1.4.0/lib/rsa.jsWEB
- https://github.com/digitalbazaar/forge/issues/1149WEB
- https://github.com/digitalbazaar/forge/pull/1152WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-85393ADVISORY
- https://www.vulncheck.com/advisories/node-forge-through-1.4.0-rsa-pkcs-1-1.5-signature-forgery-via-nested-digestalgorithm-paddingWEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan