Information Exposure Through Timing Discrepancy in Node.js - CVE-2026-21713

 

Information Exposure Through Timing Discrepancy in Node.js - CVE-2026-21713

Published: March 25, 2026


Vulnerability identifier: #VU124545
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-21713
CWE-ID: CWE-208
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to potentially forge message authentication codes.

The vulnerability exists due to use of non-constant-time comparison in HMAC verification in crypto_hmac.cc when validating user-provided signatures. A remote attacker can measure timing differences during signature comparison to infer valid HMAC values, acting as a timing oracle.

Exploitation requires high-resolution timing measurements and repeated queries under a favorable threat model.


Affected software

Node.js
Debian Linux
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Web and Scripting Module
openSUSE Leap
Anolis OS
openEuler
Fedora
IBM Business Automation Workflow
npm
nodejs-npm
v8-devel
v8-12.4-devel
nodejs (Debian package)
nodejs-docs
nodejs-full-i18n
nodejs-devel
nodejs-debugsource
nodejs-debuginfo
nodejs
nodejs-libs
nodejs20
npm20
nodejs20-debugsource
corepack20
nodejs20-devel
nodejs20-debuginfo
nodejs20-docs
nodejs22
npm22
nodejs22-docs
nodejs22-debuginfo
nodejs22-devel
corepack22
nodejs22-debugsource
nodejs24 (Red Hat package)
nodejs24-devel
npm24
nodejs24-debuginfo
nodejs24
nodejs24-debugsource
nodejs24-docs

How to mitigate CVE-2026-21713

Install security update from vendor's website.

Node.js - addressed in versions 20.20.2, 22.22.2, 24.14.1, 25.8.2
IBM Business Automation Workflow - addressed in versions 24.0.0-IF009, 24.0.1-IF008, 25.0.0-IF005, 26.0.0.0
npm - update to 10.8.2-1.20.18.2.7
nodejs-npm - update to 10.9.4-1.22.22.0.3
v8-devel - update to 11.3.244.8-1.20.18.2.7
v8-12.4-devel - update to 12.4.254.21-1.22.22.0.3
nodejs (Debian package) - addressed in versions 18.20.4+dfsg-1~deb12u2, 20.19.2+dfsg-1+deb13u2
nodejs-docs - update to 20.18.2-7
nodejs-full-i18n - update to 20.18.2-7
nodejs-devel - update to 20.18.2-7
nodejs-debugsource - update to 20.18.2-7
nodejs-debuginfo - update to 20.18.2-7
nodejs - update to 20.18.2-7
nodejs-libs - update to 20.18.2-7
nodejs20 - addressed in versions 20.20.2-3.fc43, 20.20.2-3.fc44, 20.20.2-4.fc42
npm20 - addressed in versions 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
nodejs20-debugsource - addressed in versions 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
nodejs20 - addressed in versions 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
corepack20 - addressed in versions 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
nodejs20-devel - addressed in versions 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
nodejs20-debuginfo - addressed in versions 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
nodejs20-docs - addressed in versions 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
nodejs - update to 22.22.0-3
nodejs-devel - update to 22.22.0-3
nodejs-full-i18n - update to 22.22.0-3
nodejs-libs - update to 22.22.0-3
nodejs-docs - update to 22.22.0-3
nodejs22 - addressed in versions 22.22.2-2.fc43, 22.22.2-3.fc42, 22.22.2-3.fc44
npm22 - addressed in versions 22.22.2-150600.13.15.1, 22.22.2-150700.3.9.1
nodejs22-docs - addressed in versions 22.22.2-150600.13.15.1, 22.22.2-150700.3.9.1
nodejs22-debuginfo - addressed in versions 22.22.2-150600.13.15.1, 22.22.2-150700.3.9.1
nodejs22-devel - addressed in versions 22.22.2-150600.13.15.1, 22.22.2-150700.3.9.1
corepack22 - update to 22.22.2-150600.13.15.1
nodejs22 - addressed in versions 22.22.2-150600.13.15.1, 22.22.2-150700.3.9.1
nodejs22-debugsource - addressed in versions 22.22.2-150600.13.15.1, 22.22.2-150700.3.9.1
nodejs24 (Red Hat package) - update to 24.14.1-2.el10_1
nodejs24-devel - update to 24.14.1-150700.15.8.1
npm24 - update to 24.14.1-150700.15.8.1
nodejs24-debuginfo - update to 24.14.1-150700.15.8.1
nodejs24 - update to 24.14.1-150700.15.8.1
nodejs24-debugsource - update to 24.14.1-150700.15.8.1
nodejs24-docs - update to 24.14.1-150700.15.8.1

External References

Related Security Bulletins