Vulnerability · Published Mar 27, 2026 · Assigned by GitHub_M
CVE-2026-33894Forge has signature forgery in RSA-PKCS due to ASN.1 extra field
High 7.5
In plain English
A high-severity improper input validation in forge from digitalbazaar. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | node-node-forge | no fix listed | UBUNTU-CVE-2026-33894 |
| npm | node-forge | no fix listed | GHSA-86w9-cpqp-85rv |
| npm | node-forge | 1.4.0 | GHSA-ppp5-5v6c-4jwp |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| digitalbazaar | forge | < 1.4.0 |
Weakness: CWE-347, CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-ppp5-5v6c-4jwp x_refsource_CONFIRM
- https://datatracker.ietf.org/doc/html/rfc2313#section-8 x_refsource_MISC
- https://mailarchive.ietf.org/arch/msg/openpgp/5rnE9ZRN1AokBVj3VqblGlP63QE x_refsource_MISC
- https://www.rfc-editor.org/rfc/rfc8017.html x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-33894 vdb-entry, x_refsource_REDHAT
- RHBZ#2452464 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33894.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:24761 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34342 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:9742 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:13826 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:22840 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:22629 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21017 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:24853 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:19375 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:22465 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:23361 vendor-advisory, x_refsource_REDHAT