CVE-2026-85393CVE-2026-33894GHSA-86w9-cpqp-85rvGHSA-ppp5-5v6c-4jwp
node-forge RSA PKCS#1 v1.5 signature verification accepts extra nested DigestAlgorithm elements
digitalbazaar node-forgenpmLibraries & packages
CVSS
8.7HighExploitationPublic exploit codeCISA's assessment says proof of concept code is public, assessed 3 Sep 2026. Not in the KEV catalogCISA via CVE List
Exploit odds (EPSS)0.33%Chance of exploitation activity in the next 30 days, higher than 24% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
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.
Text from CVE List
Affected versions 3
- node-forge, npm<= 1.4.0GitHub
- forgeaffected: all versions through 1.4.0CVE List
- node-forge, npmfrom first release, through 1.4.0OSV
References 9
- vulncheck.com/advisories/node-forge-through-1.4.0-rsa-pkcs-1-1.5-signature-forgery-via-nested-digestalgorithm-paddingAdvisoryvia CVE List
- github.com/advisories/GHSA-86w9-cpqp-85rvAdvisoryvia GitHub
- github.com/advisories/GHSA-ppp5-5v6c-4jwpExploitvia CVE List
- nvd.nist.gov/vuln/detail/CVE-2026-85393Referencevia GitHub
- github.com/digitalbazaar/forge/issues/1149Referencevia CVE List
- github.com/digitalbazaar/forge/blob/v1.4.0/lib/asn1.jsReferencevia CVE List
- github.com/digitalbazaar/forge/blob/v1.4.0/lib/rsa.jsReferencevia CVE List
- github.com/digitalbazaar/forge/pull/1152Referencevia GitHub
- github.com/digitalbazaar/forgeReferencevia CVE List