Description
Crypt::PBKDF2 versions before 0.261630 for Perl have a weak default algorithm and number of iterations.

The default algorithm is HMAC-SHA1, which should only be used for legacy systems.

These versions default to using 1000 iterations.

Depending on the chosen algorithm, 220,000 to 1,400,000 iterations should be used.
Published: 2026-06-12
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Crypt::PBKDF2 versions before 0.261630 default to the HMAC‑SHA1 algorithm with only 1000 iterations, a configuration that is no longer considered secure. This weakness allows an attacker to brute‑force or guess stored password hashes much more quickly, potentially compromising user accounts and any system components that rely on those credentials. The flaw is a cryptographic strength weakness as defined by CWE‑916.

Affected Systems

Any Perl application that imports the CPAN module Crypt::PBKDF2 from vendor ARODLAND with a version earlier than 0.261630 is affected. Systems using that module to hash or verify passwords—such as web applications, authentication services, or scripts that store hashed credentials—are at risk. The vulnerability is present in the default configuration of the library, so it applies to all installations that have not overridden the algorithm or iteration count.

Risk and Exploitability

The likely attack vector is an offline password cracking attempt. Based on the description, it is inferred that an attacker who gains access to hashed credentials or exploits the application’s authentication routine could recover passwords relatively quickly. The risk is significant because the module’s default settings provide insufficient computational effort to resist offline brute‑force attacks. The EPSS score is not available, and the vulnerability is not yet listed in the CISA KEV catalog, but the CVSS score of 5.3 indicates a moderate level of severity.

Generated by OpenCVE AI on June 12, 2026 at 20:35 UTC.

Remediation

Vendor Solution

Upgrade to version 0.261630 or later.


Vendor Workaround

Change the default algorithm to something stronger, such as "HMACSHA2", and the output_len accordingly (32 for SHA256). The number of iterations should also be increased (600,000 for SHA256, for example).


OpenCVE Recommended Actions

  • Upgrade Crypt::PBKDF2 to 0.261630 or later
  • Reconfigure the module to use a strong algorithm such as HMACSHA2 with output length 32 for SHA‑256 and set the iteration count to at least 600,000
  • Re‑hash all existing passwords with the updated algorithm and iteration count to eliminate the use of weak hashes

Generated by OpenCVE AI on June 12, 2026 at 20:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 13 Jun 2026 04:30:00 +0000

Type Values Removed Values Added
References

Fri, 12 Jun 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Arodland
Arodland crypt::pbkdf2
Vendors & Products Arodland
Arodland crypt::pbkdf2

Fri, 12 Jun 2026 18:30:00 +0000

Type Values Removed Values Added
References
Metrics cvssV3_1

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

ssvc

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


Fri, 12 Jun 2026 15:45:00 +0000

Type Values Removed Values Added
Description Crypt::PBKDF2 versions before 0.261630 for Perl have a weak default algorithm and number of iterations. The default algorithm is HMAC-SHA1, which should only be used for legacy systems. These versions default to using 1000 iterations. Depending on the chosen algorithm, 220,000 to 1,400,000 iterations should be used.
Title Crypt::PBKDF2 versions before 0.261630 for Perl have a weak default algorithm and number of iterations
Weaknesses CWE-916
References

Subscriptions

Arodland Crypt::pbkdf2
cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-06-13T03:06:20.974Z

Reserved: 2026-05-26T18:44:37.132Z

Link: CVE-2026-9641

cve-icon Vulnrichment

Updated: 2026-06-13T03:06:20.974Z

cve-icon NVD

Status : Deferred

Published: 2026-06-12T16:16:35.047

Modified: 2026-06-13T04:17:35.580

Link: CVE-2026-9641

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-12T20:45:11Z

Weaknesses
  • CWE-916

    Use of Password Hash With Insufficient Computational Effort