Node.js 12.x — End of Life

EOL Critical risk
EOL: Apr 30, 20221 release in this series4 CVEs

Node.js 12.x — All releases

VersionReleasedActive supportEOL dateLatest patchStatus
12LTSApr 23, 2019Oct 20, 2020Apr 30, 202212.22.12EOL

CVEs affecting Node.js 12.x (4)

CVESeverityCVSSEPSSKEVCycleDescriptionPublished
CVE-2026-21637HIGH7.50.03%12A flaw in Node.js TLS error handling allows remote attackers to crash or exhaust resources of a TLS server when `pskCall…Jan 20, 2026
CVE-2024-3566CRITICAL9.810.55%12A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly d…Apr 10, 2024
CVE-2022-0778HIGH7.57.54%12The BN_mod_sqrt() function, which computes a modular square root, contains a bug that can cause it to loop forever for n…Mar 15, 2022
CVE-2020-1971MEDIUM5.90.35%12The X.509 GeneralName type is a generic type for representing different types of names. One of those name types is known…Dec 8, 2020

Node.js 12.x is EOL — migrate to Node.js 13.x

Node.js 13.x is the next major release. Plan your upgrade before Node.js 12.x stops receiving security patches.

See Node.js 13.x

Frequently asked questions

Is Node.js 12 end of life?

Yes. All Node.js 12.x releases have reached end of life and no longer receive security patches. There are 4 known CVEs affecting Node.js 12.x, including 1 critical. Migrate to Node.js 13.x as soon as possible.

What CVEs affect Node.js 12?

There are 4 CVEs tracked for Node.js 12.x, including 1 critical severity issue. See the full list above with CVSS and EPSS scores.

What is the latest Node.js 12 version?

The latest Node.js 12.x patch release is 12.22.12, released on April 5, 2022. Always run the latest patch to benefit from all security fixes.

How to migrate from Node.js 12 to Node.js 13?

To migrate from Node.js 12 to Node.js 13: (1) review the official Node.js 13 migration guide for breaking changes, (2) update dependencies and configuration accordingly, (3) test thoroughly in a staging environment, (4) deploy with a rollback plan. Starting early gives you time to resolve compatibility issues before your current version reaches end of life.

Is it safe to run Node.js 12 in production?

No. Node.js 12 has reached end of life and security vulnerabilities are no longer patched. Upgrade to a supported version immediately.

Data sourced from endoflife.date · CVE data from NVD · EPSS from FIRST.org · KEV from CISA