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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.48% (percentile 34, 2026-11-26)
- **CWE:** CWE-400
- **Aliases:** GHSA-477h-4r7f-fvrx
- **Published:** 2026-09-29T03:42:04.950Z
- **Modified:** 2026-10-06T13:45:05.863Z

## Who should check

- Projects that depend on npm package pbkdf2 (\< 3.1.7)
- Anyone running browserify pbkdf2 \<= 3.1.6

## Description

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.

## Affected and fixed versions

- npm `pbkdf2`: affected \< 3.1.7; fixed 3.1.7 (osv)
- browserify pbkdf2: \<= 3.1.6 (cvelist)

## Mitigation

- Upgrade pbkdf2 to 3.1.7 or later.
- Vendor workaround: Enforce a maximum password length (for example, 1024 bytes) before calling pbkdf2, or call the runtime's native crypto.pbkdf2Sync directly.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-102414. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-102414.md
Affected: pbkdf2 < 3.1.7
Fixed in: 3.1.7

Steps:
1. Search this machine and project for pbkdf2 (npm), browserify pbkdf2: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-102414 being exploited?

There is no confirmed exploitation: CVE-2026-102414 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.48% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-102414?

Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-102414?

pbkdf2 \< 3.1.7.

### Is there a fix for CVE-2026-102414?

Yes. Fixed in 3.1.7. Upgrade pbkdf2 to 3.1.7 or later. Vendor workaround: Enforce a maximum password length (for example, 1024 bytes) before calling pbkdf2, or call the runtime's native crypto.pbkdf2Sync directly.

### How do I check if I'm affected by CVE-2026-102414?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/browserify/pbkdf2/security/advisories/GHSA-477h-4r7f-fvrx>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-102414>
- patch: <https://github.com/browserify/pbkdf2/commit/493d8d8>
- patch: <https://github.com/browserify/pbkdf2/commit/493d8d8ff437f680338bf7397398fda884ad462e>
- other: <https://github.com/browserify/pbkdf2/issues/82>
- other: <https://github.com/browserify/pbkdf2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-102414>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-477h-4r7f-fvrx> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-102414> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-102414>
