high7.5
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.
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | node-forge | <= 1.4.0 | none recorded |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-86w9-cpqp-85rv
- https://nvd.nist.gov/vuln/detail/CVE-2026-85393
- https://github.com/digitalbazaar/forge/issues/1149
- https://github.com/advisories/GHSA-ppp5-5v6c-4jwp
- https://github.com/digitalbazaar/forge/blob/v1.4.0/lib/asn1.js
- https://github.com/digitalbazaar/forge/blob/v1.4.0/lib/rsa.js
- https://www.vulncheck.com/advisories/node-forge-through-1.4.0-rsa-pkcs-1-1.5-signature-forgery-via-nested-digestalgorithm-padding
- https://github.com/digitalbazaar/forge/pull/1152
- https://github.com/digitalbazaar/forge