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.

Project Subscriptions

Vendors Products
Arodland Subscribe
Crypt::pbkdf2 Subscribe
Advisories

No advisories yet.

Fixes

Solution

Upgrade to version 0.261630 or later.


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).

History

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

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-06-12T17:50:44.533Z

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

Link: CVE-2026-9641

cve-icon Vulnrichment

Updated: 2026-06-12T17:50:44.533Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-06-12T18:16:36.177

Link: CVE-2026-9641

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses