Vulnerability · Published Jun 23, 2025 · Assigned by harborist

CVE-2025-6545pbkdf2 silently returns predictable uninitialized/zero-filled memory for non-normalized or unimplemented algos supported by Node.js

Critical 9.1

In plain English

A critical-severity improper input validation in pbkdf2. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)9.1Critical
Exploit odds (30 days)0.4%top 61.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Improper Input Validation vulnerability in pbkdf2 allows Signature Spoofing by Improper Validation. This vulnerability is associated with program files lib/to-buffer.Js. This issue affects pbkdf2: from 3.0.10 through 3.1.2.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-pbkdf2no fix listedDEBIAN-CVE-2025-6545
Debian:13node-pbkdf2no fix listedDEBIAN-CVE-2025-6545
Debian:14node-pbkdf23.1.3+~3.1.2-1DEBIAN-CVE-2025-6545
npmpbkdf23.1.3GHSA-h7cp-r72f-jxh6

Affected products (as reported)

VendorProductVersions
pbkdf2 3.0.10 – through 3.1.2

Weakness: CWE-20 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:H/SI:H/SA:H

References