Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. node-forge
  4. ›
  5. CVE-2026-33894

CVE-2026-33894: Forge has signature forgery in RSA-PKCS due to ASN.1 extra field

March 26, 2026 (updated March 27, 2026)

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.

References

  • datatracker.ietf.org/doc/html/rfc2313
  • github.com/advisories/GHSA-ppp5-5v6c-4jwp
  • github.com/digitalbazaar/forge
  • github.com/digitalbazaar/forge/security/advisories/GHSA-cfm4-qjh2-4765
  • github.com/digitalbazaar/forge/security/advisories/GHSA-ppp5-5v6c-4jwp
  • mailarchive.ietf.org/arch/msg/openpgp/5rnE9ZRN1AokBVj3VqblGlP63QE
  • nvd.nist.gov/vuln/detail/CVE-2026-33894
  • www.rfc-editor.org/rfc/rfc8017.html

Code Behaviors & Features

Detect and mitigate CVE-2026-33894 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.4.0

Fixed versions

  • 1.4.0

Solution

Upgrade to version 1.4.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-347: Improper Verification of Cryptographic Signature

Source file

npm/node-forge/CVE-2026-33894.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:17 +0000.