REDHAT-BUG-2528186: High severity npm/node-forge vulnerability
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.
Affected Software
Event History
Frequently Asked Questions
What RSA deployments are exposed to this signature-forgery issue?
The issue applies to node-forge RSA PKCS#1 v1.5 signature verification when low-exponent RSA keys are used. The affected package is npm/node-forge through version 1.4.0.
What must an attacker provide to exploit the flaw?
An attacker must be able to submit a crafted RSA PKCS#1 v1.5 signature for verification. The signature embeds garbage bytes in nested DigestAlgorithm sequences, allowing a valid signature to be forged for an arbitrary message under the affected conditions.
How can I determine whether my application is affected?
Check whether the application uses node-forge version 1.4.0 or earlier to verify RSA PKCS#1 v1.5 signatures, and whether the relevant RSA verification keys use a low public exponent. Applications that do not perform this verification path are not described as affected by the provided data.