CPANSA-Crypt-PBKDF2-2017-20240: Crypt-PBKDF2 vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-06-12T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-06-12T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 5.9 | Severity | |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability 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.
Vulnerabilities
CVE-2017-20240
Vulnerability DescriptionCrypt::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.
| Weakness | CWE-208 : Observable Timing Discrepancy |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Crypt-PBKDF2 less than 0.261630 |
|
Fixed
- Crypt-PBKDF2 greater than or equal 0.261630
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Crypt-PBKDF2-2017-20240 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-crypt-pbkdf2-2017-20240.json - https://github.com/arodland/Crypt-PBKDF2/pull/6 external
https://github.com/arodland/Crypt-PBKDF2/pull/6 - https://metacpan.org/release/ARODLAND/Crypt-PBKDF2-0.161520/source/lib/Crypt/PBKDF2.pm#L123-148 external
https://metacpan.org/release/ARODLAND/Crypt-PBKDF2-0.161520/source/lib/Crypt/PBKDF2.pm#L123-148 - https://metacpan.org/release/ARODLAND/Crypt-PBKDF2-0.261630/changes external
https://metacpan.org/release/ARODLAND/Crypt-PBKDF2-0.261630/changes - http://www.openwall.com/lists/oss-security/2026/06/12/3 external
http://www.openwall.com/lists/oss-security/2026/06/12/3 - CVE-2017-20240 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2017-20240
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Fri Jun 12 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/