Vulnerability
CVE-2026-21713
A flaw in Node.js HMAC verification uses a non-constant-time comparison when validating user-provided signatures, potentially leaking timing information proportional to the number of matching bytes. Under certain threat models where high-resolution timing measurements are possible, this behavior could be exploited as a timing oracle to infer HMAC values. Node.js already provides timing-safe comparison primitives used elsewhere in the codebase, indicating this is an oversight rather than an intentional design decision. This vulnerability affects **20.x, 22.x, 24.x, and 25.x**.
63 advisories report this vulnerability, across 16 ecosystems.
Advisories
-
ALAS2023-2026-1576
Amazon Linux 2023 - ALAS2023-2026-1576: Important priority package update for nodejs22
-
ALAS2023-2026-1577
Amazon Linux 2023 - ALAS2023-2026-1577: Important priority package update for nodejs20
-
ALAS2023-2026-1578
Amazon Linux 2023 - ALAS2023-2026-1578: Important priority package update for nodejs24
-
ALPINE-CVE-2026-21713
A flaw in Node.js HMAC verification uses a non-constant-time comparison when validating user-provided signatures, potentially leaking timing information proportional to the number of matching bytes. Under certain threat…
- ALPINE-EDGE-CVE-2026-21713
-
ALSA-2026:7350
Important: nodejs:24 security update
-
ALSA-2026:7670
Important: nodejs:24 security update
-
ALSA-2026:7675
Important: nodejs24 security update
-
AZL-81242
CVE-2026-21713 affecting package nodejs for versions less than 20.14.0-15
-
AZL-81248
CVE-2026-21713 affecting package nodejs24 for versions less than 24.14.1-1
- CGA-27w9-vgc6-xqfx
- CGA-2gcp-2m6v-47vj
- CGA-5cj2-5f33-4f94
- CGA-7479-r486-84vc
- CGA-7mjx-p3x8-w55w
- CGA-8x6q-3x4q-6xjx
- CGA-f3j5-3cg2-c4jv
- CGA-h29q-7f57-3v4m
- CGA-jj4r-fjv7-6255
- CGA-jph8-g9xf-4pjp
- CGA-p6ch-xm9r-xgfr
- CGA-q9j5-p2vx-67cv
- CGA-r8h5-h5w7-53x7
- CGA-r9v6-q4gv-vm9p
- CGA-rqgg-479r-x4cc
- CGA-rqhp-77fg-2jjq
-
CNA-CVE-2026-21713
A flaw in Node.js HMAC verification uses a non-constant-time comparison when validating user-provided signatures, potentially leaking timing information proportional to the number of matching bytes. Under certain threat…
-
DEBIAN-CVE-2026-21713
A flaw in Node.js HMAC verification uses a non-constant-time comparison when validating user-provided signatures, potentially leaking timing information proportional to the number of matching bytes. Under certain threat…
-
DSA-6183-1
nodejs - security update
-
DSA-6272-1
nodejs - security update
-
ELSA-2026-7350
ELSA-2026-7350: nodejs:24 security update (IMPORTANT)
-
ELSA-2026-7670
ELSA-2026-7670: nodejs:24 security update (IMPORTANT)
-
ELSA-2026-7675
ELSA-2026-7675: nodejs24 security update (IMPORTANT)
-
FEDORA-2026-9dc3a61ad8
nodejs20-20.20.2-3.fc43
-
FEDORA-2026-c99f9dc3b1
nodejs20-20.20.2-3.fc44
-
FEDORA-2026-e3f870229a
nodejs22-22.22.2-2.fc43
-
OESA-2026-1951
nodejs security update
-
OESA-2026-1952
nodejs security update
-
OESA-2026-1953
nodejs security update
-
OESA-2026-1954
nodejs security update
-
RHSA-2026:7350
Red Hat Security Advisory: nodejs:24 security update
-
RHSA-2026:7670
Red Hat Security Advisory: nodejs:24 security update
-
RHSA-2026:7675
Red Hat Security Advisory: nodejs24 security update
-
RHVEX-CVE-2026-21713
Node.js: Node.js: Information disclosure via timing oracle in HMAC verification
-
RLSA-2026:7350
Important: nodejs:24 security update
-
RLSA-2026:7670
Important: nodejs:24 security update
-
RLSA-2026:7675
Important: nodejs24 security update
-
SUSE-SU-2026:1299-1
Security update for nodejs24
-
SUSE-SU-2026:1363-1
Security update for nodejs20
-
SUSE-SU-2026:1371-1
Security update for nodejs20
-
SUSE-SU-2026:1478-1
Security update for nodejs22
-
SUSE-SU-2026:1509-1
Security update for nodejs22
-
SUSE-SU-2026:21181-1
Security update for nodejs24
-
SUSE-SU-2026:22368-1
Security update for nodejs22
-
SUSE-SU-2026:4248-1
Security update for nodejs18
-
SUSE-SU-2026:4261-1
Security update for nodejs18
-
SUSE-SU-2026:4355-1
Security update for nodejs16
-
SUSEVEX-CVE-2026-21713
A flaw in Node.js HMAC verification uses a non-constant-time comparison when validating user-provided signatures, potentially leaking timing information proportional to the number of matching bytes. Under certain threat…
-
UBUNTU-CVE-2026-21713
A flaw in Node.js HMAC verification uses a non-constant-time comparison when validating user-provided signatures, potentially leaking timing information proportional to the number of matching bytes. Under certain threat…
-
openSUSE-SU-2026:10504-1
corepack24-24.14.1-1.1 on GA media
-
openSUSE-SU-2026:11110-1
nodejs26-26.3.1-1.1 on GA media
-
openSUSE-SU-2026:20519-1
Security update for nodejs24
-
openSUSE-SU-2026:21058-1
Security update for nodejs22