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.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-347 — Improper Verification of Cryptographic Signature
Affected products
| Vendor | Product | Versions |
|---|---|---|
| digitalbazaar | forge | 0 to <=1.4.0 |
References
- https://github.com/digitalbazaar/forge/issues/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)
- https://github.com/advisories/GHSA-ppp5-5v6c-4jwp (related)
- https://www.vulncheck.com/advisories/node-forge-through-1.4.0-rsa-pkcs-1-1.5-signature-forgery-via-nested-digestalgorithm-padding (third-party-advisory)
Generated from the official CVE List on 04 Sep 2026 07:42 UTC.