npm package

node-forge 0.6.43 vulnerabilities, and what to upgrade to

node-forge 0.6.43 has 15 known vulnerabilities (9 rated high or critical); 1.4.0 fixes 14 of them, and 1 has no fixed version yet. 1.4.0 has 1 known vulnerability of its own, and so does every newer release we checked.

npm (opens in a new tab) describes it as “JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.”

Known vulnerabilities
15
9 rated high or critical
Released
Oct 7, 2016
Latest is 1.4.0
Downloads last week
46
Under 1% of node-forge downloads
Licence
(BSD-3-Clause OR GPL-2.0)
Dependencies
None
Resolved by deps.dev

What to upgrade to

Every newer release we checked still has known vulnerabilities. The fewer, the better.

  • 0.6.49

    Newest 0.6.x release. Released Feb 7, 2017.

    15 known vulnerabilities, worst rated warning
  • 1.4.0

    Fixes 14 of the 15 known vulnerabilities and the latest release. Released Mar 24, 2026.

    1 known vulnerability, worst rated warning

Hand the fix to your coding agent

One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.

Findings

Every advisory for node-forge 0.6.43

Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.

  1. CriticalCVE-2020-7720 on OSV.dev (opens in a new tab)GHSA-92xj-mqp7-vmcjEPSS: top 13%

    Prototype Pollution in node-forge

    Fixed in 0.10.0. Published Sep 14, 2020.

  2. CriticalCVE-2022-24772 on OSV.dev (opens in a new tab)GHSA-x4jg-mjrx-434gEPSS: top 35%

    Improper Verification of Cryptographic Signature in node-forge

    Fixed in 1.3.0. Published Mar 18, 2022.

  3. WarningCVE-2022-24773 on OSV.dev (opens in a new tab)GHSA-2r2c-g63r-vccrEPSS: top 40%

    Improper Verification of Cryptographic Signature in `node-forge`

    Fixed in 1.3.0. Published Mar 18, 2022.

  4. CriticalCVE-2026-33891 on OSV.dev (opens in a new tab)GHSA-5m6q-g25r-mvwxEPSS: top 42%

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

    Fixed in 1.4.0. Published Mar 26, 2026.

  5. WarningCVE-2022-0122 on OSV.dev (opens in a new tab)GHSA-8fr3-hfg3-gpgpEPSS: top 43%

    Open Redirect in node-forge

    Fixed in 1.0.0. Published Jan 21, 2022.

  6. LowGHSA-gf8q-jrpm-jvxq on OSV.dev (opens in a new tab)EPSS: top 43%

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

    Fixed in 1.0.0. Published Jan 8, 2022.

  7. CriticalCVE-2022-24771 on OSV.dev (opens in a new tab)GHSA-cfm4-qjh2-4765EPSS: top 45%

    Improper Verification of Cryptographic Signature in node-forge

    Fixed in 1.3.0. Published Mar 18, 2022.

  8. CriticalCVE-2025-12816 on OSV.dev (opens in a new tab)GHSA-5gfm-wpxj-wjgqEPSS: top 47%

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

    Fixed in 1.3.2. Published Nov 26, 2025.

  9. CriticalCVE-2026-33896 on OSV.dev (opens in a new tab)GHSA-2328-f5f3-gj25EPSS: top 59%

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

    Fixed in 1.4.0. Published Mar 26, 2026.

  10. CriticalCVE-2026-33895 on OSV.dev (opens in a new tab)GHSA-q67f-28xg-22rwEPSS: top 61%

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

    Fixed in 1.4.0. Published Mar 26, 2026.

  11. CriticalCVE-2026-33894 on OSV.dev (opens in a new tab)CVE-2026-85393EPSS: top 63%

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

    No fixed version listed yet. Published Sep 3, 2026.

  12. CriticalCVE-2025-66031 on OSV.dev (opens in a new tab)GHSA-554w-wpv2-vw27EPSS: top 65%

    node-forge has ASN.1 Unbounded Recursion

    Fixed in 1.3.2. Published Nov 26, 2025.

  13. WarningCVE-2025-66030 on OSV.dev (opens in a new tab)GHSA-65ch-62r8-g69gEPSS: top 77%

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

    Fixed in 1.3.2. Published Nov 26, 2025.

  14. LowGHSA-5rrq-pxf6-6jx5 on OSV.dev (opens in a new tab)

    Prototype Pollution in node-forge debug API.

    Fixed in 1.0.0. Published Jan 8, 2022.

  15. LowGHSA-wxgw-qj99-44c2 on OSV.dev (opens in a new tab)

    Prototype Pollution in node-forge util.setPath API

    Fixed in 0.10.0. Published Jan 8, 2022.

Who is still on a vulnerable node-forge

100% of last week’s 40M node-forge downloads went to versions with known vulnerabilities.

From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.

Is node-forge the only one?

Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly node-forge 0.6.43, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against npm, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.