CVE catalog

CVE-2026-102414

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

[CVE catalog]

Severity
Medium · CVSS 6.3CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.34% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-pbkdf2sid3.1.7+~3.1.2-1fixed
Debiannode-pbkdf2forky3.1.7+~3.1.2-1fixed
Debiannode-pbkdf2trixie3.1.2-3vulnerable
Debiannode-pbkdf2bookworm3.1.2-3vulnerable
Npmpbkdf2Not reported3.1.7fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-pbkdf2sourcesid3.1.7+~3.1.2-1not yet assignedNot reported[1149792]
Debiannode-pbkdf2sourceforky3.1.7+~3.1.2-1not yet assignedNot reported[1149792]
Debiannode-pbkdf2sourcetrixie(unfixed)not yet assignedNot reported[1149792]
Debiannode-pbkdf2sourcebookworm(unfixed)not yet assignedNot reported[1149792]
Npmpbkdf2npmNot reported3.1.7Not reportedGHSA-477H-4R7F-FVRXNot reported

[Debian bug #1149792]

Notes

[trixie] node-pbkdf2: Minor issue [bookworm] node-pbkdf2: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [node-pbkdf2]Affected
    Details (2)
    • 3.1.2-3 · all · bookworm

      Affected

      nvd · node-pbkdf2 · debian · bookworm; nvd · node-pbkdf2 · debian · 12

    • 3.1.2-3 · all · bookworm

      Affected

      nvd · node-pbkdf2 · debian · bookworm; nvd · node-pbkdf2 · debian · 12

[Debian 13 (Trixie)]

  • [node-pbkdf2]Affected
    Details (2)
    • 3.1.2-3 · all · trixie

      Affected

      nvd · node-pbkdf2 · debian · 13

    • 3.1.2-3 · all · trixie

      Affected

      nvd · node-pbkdf2 · debian · 13

Observed:

References