CVEfocus › CVE database › CVE-2026-102414

CVE-2026-102414pbkdf2 rehashes long passwords on every iteration, enabling denial of service

CVSS 3.7 LowEPSS 0.5% (higher than 34% of CVEs)Published 2026-09-29Updated 2026-09-30Assigner: harborist

pbkdf2 through 3.1.6 re-hashes passwords longer than the digest's block size on every iteration in its JavaScript fallback (lib/sync.js). A password longer than the block size (64 bytes, or 128 bytes for sha384 and sha512) is passed to HMAC as the key on every iteration, and HMAC hashes such keys in full each time. Cost is therefore O(iterations × password length), and a long password can block the event loop. The fallback is used by pbkdf2Sync and pbkdf2 on Node.js before 0.12, on Bun (1.0.0 through 1.1.34, and 1.2.6 and later), and on Deno 2.9.0 and later, because their native pbkdf2Sync fails the library's feature check. It is also used when lib/sync.js is imported directly. Node.js 0.12 and later, and browser builds (which use lib/sync-browser.js), are not affected. Applications that enforce a reasonable maximum password length are not meaningfully affected.

CWE-400

What to do

Fixed builds are available from Debian, npm: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
7Fix pending
1Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-pbkdf2Fix pendingUBUNTU-CVE-2026-102414
Ubuntu 26.04node-pbkdf2Under investigationUBUNTU-CVE-2026-102414
Ubuntu 24.04node-pbkdf2Fix pendingUBUNTU-CVE-2026-102414
Ubuntu 22.04node-pbkdf2Fix pendingUBUNTU-CVE-2026-102414
Ubuntu 20.04node-pbkdf2Fix pendingUBUNTU-CVE-2026-102414
Ubuntu 18.04node-pbkdf2Fix pendingUBUNTU-CVE-2026-102414
Debian 14node-pbkdf2Fixed3.1.7+~3.1.2-1DEBIAN-CVE-2026-102414
Debian 13node-pbkdf2Fix pendingDEBIAN-CVE-2026-102414
Debian 12node-pbkdf2Fix pendingDEBIAN-CVE-2026-102414
npm librarypbkdf2Fixed3.1.7GHSA-477h-4r7f-fvrx

What the vendor says

As published in the CVE record by harborist, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to a version of pbkdf2 that includes the fix, which pre-hashes passwords longer than the digest block size once before iterating, or, enforce literally any reasonable maximum password length before calling pbkdf2.

Workaround: Enforce a maximum password length (for example, 1024 bytes) before calling pbkdf2, or call the runtime's native crypto.pbkdf2Sync directly.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.