node-forge vulnerabilities

JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.

Registry
npm
Latest
1.4.3
License
(BSD-3-Clause OR GPL-2.0)

36 known advisories

The latest version, 1.4.3, is not affected by any of them. Projects on older versions may be.

Update to the latest version:npm install node-forge@1.4.3

Is your project on an affected node-forge?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several JavaScript apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for node-forge

  • LowCVE-2026-125335GHSA-6889-vf6x-f3g510 Nov 2026

    Forge: Ed25519 signature verification accepts small-order public keys

    Affected
    <1.4.3
    Fixed in
    1.4.3
  • MediumCVE-2026-125332GHSA-w4xr-hqv8-ch4410 Nov 2026

    Forge: TLS client crash on an unsupported ServerHello compression method

    Affected
    <1.4.3
    Fixed in
    1.4.3
  • MediumCVE-2026-125333GHSA-6cv4-p8m7-4r2510 Nov 2026

    Forge: ReDoS in forge.http response header and cookie trimming

    Affected
    >=0.1.2 <1.4.3
    Fixed in
    1.4.3
  • MediumCVE-2026-125334GHSA-j8rw-jp99-435v10 Nov 2026

    Forge: TLS client crash on a handshake record received without a session

    Affected
    <1.4.3
    Fixed in
    1.4.3
  • LowCVE-2026-118774GHSA-9wg5-mj3p-v49q10 Nov 2026

    Forge: Certificate signature verified with the issuer's RSA signature scheme

    Affected
    <1.4.1
    Fixed in
    1.4.1
  • LowCVE-2026-118776GHSA-2vgq-wchc-25w710 Nov 2026

    Forge: Incomplete PKCS#7 padding validation in AES/DES CBC and ECB decryption

    Affected
    <1.4.1
    Fixed in
    1.4.1
  • MediumCVE-2026-119189GHSA-h46v-rmh6-fq4f10 Nov 2026

    Forge: X.509 pathLenConstraint not enforced by verifyCertificateChain() for CA certificates without keyUsage

    Affected
    <1.4.1
    Fixed in
    1.4.1
  • HighCVE-2026-119191GHSA-rhr8-3pm8-cq2910 Nov 2026

    Forge: ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer

    Affected
    <1.4.1
    Fixed in
    1.4.1
  • HighCVE-2026-119192GHSA-6qrw-m8cv-hcxf10 Nov 2026

    Forge: RSA PKCS#1 v1.5 signature forgery via non-canonical DigestInfo encoding

    Affected
    <1.4.1
    Fixed in
    1.4.1
  • LowCVE-2026-118775GHSA-4642-5mcj-2rqw30 Oct 2026

    Forge: ASN.1 OID first arc truncation in asn1.oidToDer

    Affected
    <1.4.1
    Fixed in
    1.4.1
  • MediumCVE-2026-118777GHSA-6wvx-3r32-xmcg30 Oct 2026

    Forge: Prototype Pollution in forge.http cookie handling via a malicious Set-Cookie

    Affected
    <1.4.1
    Fixed in
    1.4.1
  • MediumCVE-2026-118778GHSA-525v-9gp9-w22h30 Oct 2026

    Forge: TLS client crash when the server sends no certificate

    Affected
    <1.4.1
    Fixed in
    1.4.1
  • HighCVE-2026-118779GHSA-7wch-p9px-956x30 Oct 2026

    Forge: Regular expression denial of service in PEM decoding (pem.decode)

    Affected
    <1.4.1
    Fixed in
    1.4.1
  • LowCVE-2026-118781GHSA-h6cr-wjv9-3cpp30 Oct 2026

    Forge: Denial of Service via infinite loop in BigInteger.modInverse() with negative input (incomplete fix of CVE-2026-33891)

    Affected
    <1.4.1
    Fixed in
    1.4.1
  • LowCVE-2026-118780GHSA-4487-j8r4-4g2f30 Oct 2026

    Forge: verifyCertificateChain() removes trusted CA certificates with the same subject from the CA store

    Affected
    <1.4.1
    Fixed in
    1.4.1
  • MediumCVE-2026-119186GHSA-5cwg-6vw7-rj6p30 Oct 2026

    Forge: AES-GCM authentication bypass via unvalidated tagLength option

    Affected
    <1.4.1
    Fixed in
    1.4.1
  • HighCVE-2026-118782GHSA-jc66-7q78-782g30 Oct 2026

    Forge: PKCS#12 MAC forgery and constant-key PBE via zero iteration count

    Affected
    <1.4.1
    Fixed in
    1.4.1
  • HighCVE-2026-119188GHSA-8hrf-8g6f-7xwp30 Oct 2026

    Forge: Denial of service in TLS record processing via a record interleaved with a fragmented handshake message

    Affected
    <1.4.1
    Fixed in
    1.4.1
  • HighCVE-2026-119187GHSA-hqq3-7jhf-c5jx30 Oct 2026

    Forge: Denial of service in TLS record processing via call stack exhaustion

    Affected
    <1.4.1
    Fixed in
    1.4.1
  • HighCVE-2026-119190GHSA-5x38-2vff-x55p30 Oct 2026

    Forge: X.509 basicConstraints bypass in verifyCertificateChain() via deprecated extension OIDs 2.5.29.10 and 2.5.29.13

    Affected
    <1.4.1
    Fixed in
    1.4.1
  • HighCVE-2026-33894GHSA-86w9-cpqp-85rv3 Sept 2026

    node-forge RSA PKCS#1 v1.5 signature verification accepts extra nested DigestAlgorithm elements

    Affected
    <=1.4.0
    Fixed in
    No fix released
  • HighCVE-2026-33896GHSA-2328-f5f3-gj2526 Mar 2026

    Forge has a basicConstraints bypass in its certificate chain verification (RFC 5280 violation)

    Affected
    <1.4.0
    Fixed in
    1.4.0
  • HighCVE-2026-33895GHSA-q67f-28xg-22rw26 Mar 2026

    Forge has signature forgery in Ed25519 due to missing S > L check

    Affected
    <1.4.0
    Fixed in
    1.4.0
  • HighCVE-2026-33894GHSA-ppp5-5v6c-4jwp26 Mar 2026

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

    Affected
    <1.4.0
    Fixed in
    1.4.0
  • HighCVE-2026-33891GHSA-5m6q-g25r-mvwx26 Mar 2026

    Forge has Denial of Service via Infinite Loop in BigInteger.modInverse() with Zero Input

    Affected
    <1.4.0
    Fixed in
    1.4.0
  • HighCVE-2025-66031GHSA-554w-wpv2-vw2726 Nov 2025

    node-forge has ASN.1 Unbounded Recursion

    Affected
    <1.3.2
    Fixed in
    1.3.2
  • MediumCVE-2025-66030GHSA-65ch-62r8-g69g26 Nov 2025

    node-forge is vulnerable to ASN.1 OID Integer Truncation

    Affected
    <1.3.2
    Fixed in
    1.3.2
  • HighCVE-2025-12816GHSA-5gfm-wpxj-wjgq26 Nov 2025

    node-forge has an Interpretation Conflict vulnerability via its ASN.1 Validator Desynchronization

    Affected
    <1.3.2
    Fixed in
    1.3.2
  • MediumCVE-2022-24773GHSA-2r2c-g63r-vccr18 Mar 2022

    Improper Verification of Cryptographic Signature in `node-forge`

    Affected
    <1.3.0
    Fixed in
    1.3.0
  • HighCVE-2022-24772GHSA-x4jg-mjrx-434g18 Mar 2022

    Improper Verification of Cryptographic Signature in node-forge

    Affected
    <1.3.0
    Fixed in
    1.3.0
  • HighCVE-2022-24771GHSA-cfm4-qjh2-476518 Mar 2022

    Improper Verification of Cryptographic Signature in node-forge

    Affected
    <1.3.0
    Fixed in
    1.3.0
  • MediumCVE-2022-0122GHSA-8fr3-hfg3-gpgp21 Jan 2022

    Open Redirect in node-forge

    Affected
    <1.0.0
    Fixed in
    1.0.0
  • LowGHSA-5rrq-pxf6-6jx58 Jan 2022

    Prototype Pollution in node-forge debug API.

    Affected
    <1.0.0
    Fixed in
    1.0.0
  • LowGHSA-wxgw-qj99-44c28 Jan 2022

    Prototype Pollution in node-forge util.setPath API

    Affected
    <0.10.0
    Fixed in
    0.10.0
  • LowGHSA-gf8q-jrpm-jvxq8 Jan 2022

    URL parsing in node-forge could lead to undesired behavior.

    Affected
    <1.0.0
    Fixed in
    1.0.0
  • HighCVE-2020-7720GHSA-92xj-mqp7-vmcj14 Sept 2020

    Prototype Pollution in node-forge

    Affected
    <0.10.0
    Fixed in
    0.10.0

Is your node-forge version vulnerable?

Which of your client projects still run an old node-forge?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other npm packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.