CVE-2026-9638

Crypt::PBKDF2 versions before 0.261630 for Perl generate insecure random values for salts

Published Jun 12, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Crypt::PBKDF2 versions before 0.261630 for Perl generate insecure random values for salts.

These versions use the built-in rand function, which is predictable and unsuitable for cryptography.

Analysis

AI-generated

Technical impact

Crypt::PBKDF2 implementations prior to version 0.261630 generate salts using Perl's built‑in rand function. Because rand is not cryptographically secure, the salts are predictable. This weakness undermines PBKDF2's intended resistance to pre‑computed attacks, allowing an attacker who can observe or guess a salt to greatly reduce the computational effort needed for a brute‑force or dictionary attack.

Affected Systems

The vulnerability affects the Crypt::PBKDF2 module distributed by ARODLAND, specifically any installation of version 0.261629 or earlier. The module is used in Perl applications that perform password hashing or key derivation with PBKDF2.

Risk and Exploitability

The CVSS score of 7.5 indicates substantial severity, and the EPSS score is not available. The flaw is not listed in KEV, but the use of a predictable random source is a severe weakness. The likely attack vector is any code that imports Crypt::PBKDF2; if an application stores hashed passwords in a database, compromised salts could enable faster cracking. This vulnerability is local to the environment running the module, but once the attacker obtains password hashes, the impact is widespread.

Remediation

Vendor Solution

Upgrade to version 0.261630 or later.


OpenCVE Recommended Actions

  • Upgrade Crypt::PBKDF2 to version 0.261630 or newer.
  • Update all Perl applications that rely on Crypt::PBKDF2 to use the patched version and recompile them.
  • Rehash existing password hashes by re‑processing them through the upgraded module to generate secure salts.
  • Verify that no legacy versions of Crypt::PBKDF2 remain in the environment.

Generated by OpenCVE AI on June 12, 2026 at 19:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Arodland
Arodland crypt::pbkdf2
Vendors & Products Arodland
Arodland crypt::pbkdf2
Type Values Removed Values Added
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Crypt::PBKDF2 versions before 0.261630 for Perl generate insecure random values for salts. These versions use the built-in rand function, which is predictable and unsuitable for cryptography.
Title Crypt::PBKDF2 versions before 0.261630 for Perl generate insecure random values for salts
Weaknesses CWE-338
References
Weaknesses
  • CWE-338

    Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Jun 12, 2026, 5:50 PM
Reserved
May 26, 2026, 6:28 PM
Status
Deferred
Published
Jun 12, 2026, 4:16 PM
Modified
Oct 26, 2026, 11:10 AM