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

- Severity: Medium 6.3 (CVSS:4.0, scored by harborist) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-29T03:42:04.950Z
- Modified: 2026-10-06T13:45:05.863Z
- Also known as: GHSA-477h-4r7f-fvrx
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: harborist

## 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.

(As written by CVE List.)

## Affected

- pbkdf2: up to 3.1.6
- pbkdf2 (npm): before 3.1.7

## Every score

- harborist: CVSS:4.0 6.3 Medium `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`
- harborist: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 3.7 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/browserify/pbkdf2/security/advisories/GHSA-477h-4r7f-fvrx> (exploit, vendor-advisory, web)
- <https://github.com/browserify/pbkdf2/issues/82> (issue-tracking, web)
- <https://github.com/browserify/pbkdf2/commit/493d8d8> (patch)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102414> (advisory)
- <https://github.com/browserify/pbkdf2/commit/493d8d8ff437f680338bf7397398fda884ad462e> (web)
- <https://github.com/browserify/pbkdf2> (package)

## Sources

- CVE List: [CVE-2026-102414](https://www.cve.org/CVERecord?id=CVE-2026-102414), CVE Terms of Use, modified 2026-09-30
- GitHub Advisory Database: [GHSA-477h-4r7f-fvrx](https://github.com/advisories/GHSA-477h-4r7f-fvrx), CC-BY-4.0, modified 2026-10-06
- NVD: [CVE-2026-102414](https://nvd.nist.gov/vuln/detail/CVE-2026-102414), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-102414 · Whole record: https://cve.day/CVE-2026-102414.json · Rebuilt by cve.day 2026-11-25T22:59:41.415Z
