Kurz gesagt
- CVE-2026-33894 ist eine Schwachstelle (HOCH (CVSS 7.5)) in forge (digitalbazaar), node-forge.
- Wahrscheinlichkeit einer Ausnutzung in den nächsten 30 Tagen (EPSS): 0.48%, höher als bei 41.5% aller Schwachstellen.
- Abhilfe: auf 1.4.0 oder neuer aktualisieren.
| Package | Affected versions | Patched versions |
|---|
| forge | < 1.4.0
| 1.4.0
|
| node-forge npm | ≤ 1.4.0< 1.4.0
| 1.4.0
|
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.
NVD description
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.4.0, RSASSA PKCS#1 v1.5 signature verification accepts forged signatures for low public exponent keys (e=3). Attackers can forge signatures by stuffing “garbage” bytes within the ASN structure in order to construct a signature that passes verification, enabling Bleichenbacher style forgery. This issue is similar to CVE-2022-24771, but adds bytes in an addition field within the ASN structure, rather than outside of it. Additionally, forge does not validate that signatures include a minimum of 8 bytes of padding as defined by the specification, providing attackers additional space to construct Bleichenbacher forgeries. Version 1.4.0 patches the issue.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free