GHSA-86w9-cpqp-85rv

node-forge RSA PKCS#1 v1.5 signature verification accepts extra nested DigestAlgorithm elements

En bref

Publiée
Mise à jour
CVE
CVE-2026-33894, CVE-2026-85393
Alias
GHSA-ppp5-5v6c-4jwp
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS_V4
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

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.

Paquets affectés

PaquetVersions
npm · node-forgeintroduced 0, last affected 1.4.0

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database