Node.js · Node.js project

Does Node.js support post-quantum TLS?

Key exchange

For key exchange, yes. Official Node.js builds bundle OpenSSL 3.5 since 24.5.0 and 22.20.0 (LTS), and Cloudflare's compatibility table lists hybrid key agreement as on by default from those versions. ML-KEM and ML-DSA are developer APIs since 24.7.0.

Last change 24 Sep 2025Checked 3 sources

Where it stands

Node.js 24.5.0 (31 July 2025) moved to OpenSSL 3.5.1. Node.js 24.7.0 (27 August 2025) added ML-KEM and ML-DSA to node:crypto. The LTS line followed with 22.20.0 (24 September 2025), which bundles OpenSSL 3.5.2. Cloudflare's documentation lists hybrid key agreement as on by default in 24.5.0 and later and in 22.20.0 and later.

What comes next

Applications have to run on 22.20.0, 24.5.0 or later to get it. Node.js 22 reaches its planned end of life on 30 April 2027; Node.js 24 is supported until April 2028.

What is at risk today

Third-party builds that link to an external OpenSSL are not affected by the change, and releases that still bundle OpenSSL 3.0.x lack it. ML-DSA exists as an API in crypto.sign() and crypto.verify(); which certificates a server presents is up to its operator.

Timeline

  1. Node.js 24.5.0 was released with OpenSSL 3.5.1. nodejs.org
  2. Node.js 24.7.0 added ML-KEM and ML-DSA to the node:crypto module. nodejs.org
  3. Node.js 22.20.0 (LTS) switched the bundled OpenSSL to 3.5.2. nodejs.org

Sources