7.5High
CVE-2026-85393node-forge through 1.4.0 RSA PKCS#1 v1.5 Signature Forgery via Nested DigestAlgorithm Padding
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.
Weakness (CWE):
CWE-347
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| digitalbazaar | forge | ≤ 1.4.0 |
References and patches
- GitHub Issue #1149 issue-tracking
- https://github.com/digitalbazaar/forge product
- https://github.com/digitalbazaar/forge/blob/v1.4.0/lib/rsa.js technical-description
- https://github.com/digitalbazaar/forge/blob/v1.4.0/lib/asn1.js technical-description
- GitHub Security Advisory (GHSA-ppp5-5v6c-4jwp)
- VulnCheck Advisory: node-forge through 1.4.0 RSA PKCS#1 v1.5 Signature Forgery via Nested DigestAlgorithm Padding third-party-advisory