Skip to content
Heist/ feed
Back to feed
Medium

node-pbkdf2 — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-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 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.

Products
node-pbkdf2
Affected versions
3.0.13-1, 3.0.14-1, 3.0.14-2, 3.0.14-2ubuntu0.1~esm1, 3.0.16-1, 3.0.16-1ubuntu0.1~esm1, 3.1.2-2, 3.1.2-2ubuntu0.1~esm1, 3.1.2-3, 3.1.2-3ubuntu0.1~esm1, 3.1.3+~3.1.2-1, 3.1.5+~3.1.2-1
Fixed versions
Not specified
CVEs
CVE-2026-102414
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:53 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-102414

core-osv · Original source

Published 29 Sept 2026, 04:17 UTC

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.

osv:UBUNTU-CVE-2026-102414

node-pbkdf2

Fixed versions: Not specified

node-pbkdf2

Fixed versions: Not specified

node-pbkdf2

Fixed versions: Not specified

node-pbkdf2

Fixed versions: Not specified

node-pbkdf2

Fixed versions: Not specified

node-pbkdf2

Fixed versions: Not specified

Complete source record
{
  "id": "5b8cc61fbb630e48194f3f2b51abd87f4cf9362830989bc34ae054c44cc555bd",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-102414",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-102414",
    "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.",
    "evidence": "osv:UBUNTU-CVE-2026-102414",
    "products": [
      {
        "name": {
          "value": "node-pbkdf2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.13-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.0.14-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.0.14-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.0.14-2ubuntu0.1~esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-pbkdf2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.16-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.0.16-1ubuntu0.1~esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-pbkdf2",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.16-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.1.2-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.1.2-2ubuntu0.1~esm1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-pbkdf2",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.1.2-3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "3.1.2-3ubuntu0.1~esm1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-pbkdf2",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.1.5+~3.1.2-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-pbkdf2",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.1.3+~3.1.2-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "3.1.5+~3.1.2-1",
            "evidence": "/affected/5/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-102414",
      "aliases": [
        "UBUNTU-CVE-2026-102414"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
        },
        {
          "type": "CVSS_V4",
          "score": "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"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-pbkdf2",
            "purl": "pkg:deb/ubuntu/node-pbkdf2?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "3.0.13-1",
            "3.0.14-1",
            "3.0.14-2",
            "3.0.14-2ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102414.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-pbkdf2",
                "binary_version": "3.0.14-2ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-pbkdf2",
            "purl": "pkg:deb/ubuntu/node-pbkdf2?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "3.0.16-1",
            "3.0.16-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102414.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-pbkdf2",
                "binary_version": "3.0.16-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-pbkdf2",
            "purl": "pkg:deb/ubuntu/node-pbkdf2?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "3.0.16-1",
            "3.1.2-2",
            "3.1.2-2ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102414.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-pbkdf2",
                "binary_version": "3.1.2-2ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-pbkdf2",
            "purl": "pkg:deb/ubuntu/node-pbkdf2?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "3.1.2-3",
            "3.1.2-3ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102414.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-pbkdf2",
                "binary_version": "3.1.2-3ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-pbkdf2",
            "purl": "pkg:deb/ubuntu/node-pbkdf2?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "3.1.5+~3.1.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102414.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-pbkdf2",
                "binary_version": "3.1.5+~3.1.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-pbkdf2",
            "purl": "pkg:deb/ubuntu/node-pbkdf2?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "3.1.3+~3.1.2-1",
            "3.1.5+~3.1.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102414.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-pbkdf2",
                "binary_version": "3.1.5+~3.1.2-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:59:45.139086843Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-102414"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-102414",
        "https://www.cve.org/CVERecord?id=CVE-2026-102414",
        "https://github.com/browserify/pbkdf2/commit/493d8d8",
        "https://github.com/browserify/pbkdf2/issues/82",
        "https://github.com/browserify/pbkdf2/security/advisories/GHSA-477h-4r7f-fvrx"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-102414",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 359743,
  "published_at": "2026-09-29T04:17:00+00:00"
}