Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-20240
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:02 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-20240
Complete source record
{
"id": "54a1efc7b77bfa0d4b1bc03377972f6b29c20fb8e7192506cd292a71e079de6c",
"url": "https://osv.dev/vulnerability/CVE-2017-20240",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-20240",
"summary": "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.",
"evidence": "osv:CVE-2017-20240",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2017-20240",
"aliases": [
"CVE-2017-20240"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/arodland/crypt-pbkdf2",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "63bd1c8b74ea5a98c0566da99cdf9c84a87073bf"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.261630"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"0.161520",
"0.160410",
"0.150900",
"0.142390",
"0.140890",
"0.133330",
"0.131750",
"0.121930",
"v0.112020",
"v0.110461",
"v0.110460",
"v0.101170",
"v0.101160"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-20240.json"
}
}
],
"modified": "2026-10-20T10:49:45.635297534Z",
"provider": "osv",
"references": [
"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",
"https://github.com/arodland/Crypt-PBKDF2/pull/6"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-20240",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 380779,
"published_at": "2026-06-12T14:16:28.66+00:00"
}