pbkdf2 rehashes long passwords on every iteration, enabling denial of service
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| browserify | pbkdf2 | up to 3.1.6 | — | No fix listed | CNA |
| — | pbkdf2 (npm) | before 3.1.7 | 3.1.7 | Patch available | GHSA-477h-4r7f-fvrx |
- pbkdf2 Vendorbrowserify Affected up to 3.1.6 Fixed in — No fix listed CNA
- pbkdf2 (npm) Vendor— Affected before 3.1.7 Fixed in 3.1.7 Patch available GHSA-477h-4r7f-fvrx
Remediation
- Fix · GHSA-477h-4r7f-fvrx pbkdf2 (npm) Fixed in 3.1.7 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-102414
- 2026-10-06 Alias added: GHSA-477h-4r7f-fvrx
- 2026-10-06 Fix available: npm/[email protected] · GHSA-477h-4r7f-fvrx
- 2026-10-06 CVSS score added · GHSA-477h-4r7f-fvrx
- 2026-10-06 Weakness changed · GHSA-477h-4r7f-fvrx
- 2026-10-06 5 new references · GHSA-477h-4r7f-fvrx
- 2026-11-07 Affected versions changed · Red Hat
- 2026-11-07 CVSS score added · Red Hat
References
Advisory 2
More browserify vulnerabilities
- TI-2025-08513 Missing type checks leading to hash rewind and passing on crafted data CVSS 4.0CRITICAL 9.1
- TI-2025-08512 Missing type checks leading to hash rewind and passing on crafted data CVSS 4.0CRITICAL 9.1
- TI-2023-24861 browserify-sign vulnerable via an upper bound check issue in `dsaVerify` that leads to a signature forgery attack CVSS 3.1HIGH 7.5
Sources
- CVE-2026-102414 · CVE Program
- CVE-2026-102414 · NVD
- FIRST EPSS
- GHSA-477h-4r7f-fvrx · GitHub Advisory Database · CC BY 4.0
- CVE-2026-102414 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences