DEBIAN-CVE-2026-21713
Record from OSV · Published March 30, 2026
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**.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| nodejs | Debian:12 | 18.20.4+dfsg-1~deb12u2 |
| nodejs | Debian:14 | 22.22.2+dfsg+~cs22.19.15-1 |
| nodejs | Debian:13 | 20.19.2+dfsg-1+deb13u2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Debian:12 | nodejs | 18.20.4+dfsg-1~deb12u1, 18.20.1+dfsg-4, 18.20.1+dfsg-3 |
| Debian:14 | nodejs | 22.22.0+dfsg+~cs22.19.13-1, 22.22.0+dfsg+~cs22.19.13-2, 22.22.0+dfsg+~cs22.19.6-1 |
| Debian:13 | nodejs | 20.19.2+dfsg-1+deb13u1, 20.19.2+dfsg-1, 0 |
Timeline
- Mar 30, 2026 CVE Published
- Oct 1, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln DEBIAN-CVE-2026-21713
vulnetix vdb fixes DEBIAN-CVE-2026-21713
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/DEBIAN-CVE-2026-21713/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart