Allocation of Resources Without Limits or Throttling Affecting pbkdf2 package, versions <3.1.7


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.28% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-PBKDF2-20251013
  • published29 Sept 2026
  • disclosed29 Sept 2026
  • creditSteve Thomas (Sc00bz), Jordan Harband (ljharb)

Introduced: 29 Sep 2026

NewCVE-2026-102414  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade pbkdf2 to version 3.1.7 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the pbkdf2 function in lib/sync.js, which passes the raw password to createHmac on every PBKDF2 iteration. Because HMAC rehashes any key longer than the digest's block size (per RFC 2104), a long password causes O(iterations × password_length) hash operations instead of O(iterations), allowing an attacker to trigger disproportionate CPU consumption by supplying a long password.

Note: This is only exploitable via the pure-JS synchronous path used on Node.js < 0.12, Bun, Deno, or through direct imports of pbkdf2/lib/sync.

CVSS Base Scores

version 4.0
version 3.1