{"id":"GHSA-86w9-cpqp-85rv","summary":"node-forge RSA PKCS#1 v1.5 signature verification accepts extra nested DigestAlgorithm elements","details":"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.","aliases":["CVE-2026-33894","CVE-2026-85393","GHSA-ppp5-5v6c-4jwp"],"modified":"2026-10-01T21:40:40.239109725Z","published":"2026-09-03T21:31:15Z","database_specific":{"cwe_ids":["CWE-347"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-10-01T21:09:09Z","nvd_published_at":"2026-09-03T19:17:31Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85393"},{"type":"WEB","url":"https://github.com/digitalbazaar/forge/issues/1149"},{"type":"WEB","url":"https://github.com/digitalbazaar/forge/pull/1152"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-ppp5-5v6c-4jwp"},{"type":"PACKAGE","url":"https://github.com/digitalbazaar/forge"},{"type":"WEB","url":"https://github.com/digitalbazaar/forge/blob/v1.4.0/lib/asn1.js"},{"type":"WEB","url":"https://github.com/digitalbazaar/forge/blob/v1.4.0/lib/rsa.js"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/node-forge-through-1.4.0-rsa-pkcs-1-1.5-signature-forgery-via-nested-digestalgorithm-padding"}],"affected":[{"package":{"name":"node-forge","ecosystem":"npm","purl":"pkg:npm/node-forge"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.4.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-86w9-cpqp-85rv/GHSA-86w9-cpqp-85rv.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"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"}]}