CVE-2026-9641 PUBLISHED

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

Assigner: CPANSec
Reserved: 26.05.2026 Published: 12.06.2026 Updated: 12.06.2026

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.

Product Status

Vendor ARODLAND
Product Crypt::PBKDF2
Versions Default: unaffected
  • affected from 0 to 0.261630 (excl.)

Workarounds

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

Solutions

Upgrade to version 0.261630 or later.

References

Problem Types

  • CWE-916 Use of Password Hash With Insufficient Computational Effort CWE