Skip to main content
← All vulnerabilities
CVE-2026-33894GHSA-86W9-CPQP-85RVGHSA-PPP5-5V6C-4JWP

Forge has signature forgery in RSA-PKCS due to ASN.1 extra field

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.4.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • digitalbazaar forge

    fixed in 1.4.0

  • node-forgenpm

    through 1.4.0

  • node-forgenpm

    fixed in 1.4.0

References 4

GitHub · digitalbazaar/forge

datatracker.ietf.org

mailarchive.ietf.org

rfc-editor.org