CVE-2017-20240

Crypt::PBKDF2 versions before 0.261630 for Perl are vulnerable to timing attacks

Published Jun 12, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
Crypt::PBKDF2 versions before 0.261630 for Perl are vulnerable to timing attacks.

These versions use Perl's built-in eq comparison. Discrepancies in timing could be used to guess the underlying derived-key.

Remediation

Vendor Solution

Upgrade to version 0.261630 or later.


Vendor Workaround

Apply the patch from the referenced pull request.

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
Metrics cvssV3_1

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

ssvc

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

Type Values Removed Values Added
Description Crypt::PBKDF2 versions before 0.261630 for Perl are vulnerable to timing attacks. These versions use Perl's built-in eq comparison. Discrepancies in timing could be used to guess the underlying derived-key.
Title Crypt::PBKDF2 versions before 0.261630 for Perl are vulnerable to timing attacks
Weaknesses CWE-208
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Jun 12, 2026, 4:59 PM
Reserved
May 26, 2026, 6:23 PM
Status
Deferred
Published
Jun 12, 2026, 2:16 PM
Modified
Jun 17, 2026, 1:15 AM