libcrypt-pbkdf2-perl — 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
- libcrypt-pbkdf2-perl
- Affected versions
- 0.150900-1, 0.160410-1, 0.161520-1, 0.161520-2, 0.261630-1
- Fixed versions
- Not specified
- CVEs
- CVE-2017-20240
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:22 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:UBUNTU-CVE-2017-20240
libcrypt-pbkdf2-perl
Fixed versions: Not specified
libcrypt-pbkdf2-perl
Fixed versions: Not specified
libcrypt-pbkdf2-perl
Fixed versions: Not specified
libcrypt-pbkdf2-perl
Fixed versions: Not specified
libcrypt-pbkdf2-perl
Fixed versions: Not specified
libcrypt-pbkdf2-perl
Fixed versions: Not specified
libcrypt-pbkdf2-perl
Fixed versions: Not specified
libcrypt-pbkdf2-perl
Fixed versions: Not specified
Complete source record
{
"id": "2794217cf28ae7dea27bbc43b4d20ce82676906e252e445336335a7c5b603082",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2017-20240",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-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:UBUNTU-CVE-2017-20240",
"products": [
{
"name": {
"value": "libcrypt-pbkdf2-perl",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.150900-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.160410-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "libcrypt-pbkdf2-perl",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.161520-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "libcrypt-pbkdf2-perl",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.161520-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "libcrypt-pbkdf2-perl",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.161520-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "libcrypt-pbkdf2-perl",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.161520-2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "libcrypt-pbkdf2-perl",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.161520-2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "libcrypt-pbkdf2-perl",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.161520-2",
"evidence": "/affected/6/versions"
},
{
"value": "0.261630-1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "libcrypt-pbkdf2-perl",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.161520-2",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2017-20240",
"aliases": [
"UBUNTU-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"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libcrypt-pbkdf2-perl",
"purl": "pkg:deb/ubuntu/libcrypt-pbkdf2-perl?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"0.150900-1",
"0.160410-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20240.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcrypt-pbkdf2-perl",
"binary_version": "0.160410-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libcrypt-pbkdf2-perl",
"purl": "pkg:deb/ubuntu/libcrypt-pbkdf2-perl?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"0.161520-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20240.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcrypt-pbkdf2-perl",
"binary_version": "0.161520-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libcrypt-pbkdf2-perl",
"purl": "pkg:deb/ubuntu/libcrypt-pbkdf2-perl?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0.161520-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20240.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcrypt-pbkdf2-perl",
"binary_version": "0.161520-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libcrypt-pbkdf2-perl",
"purl": "pkg:deb/ubuntu/libcrypt-pbkdf2-perl?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.161520-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20240.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcrypt-pbkdf2-perl",
"binary_version": "0.161520-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libcrypt-pbkdf2-perl",
"purl": "pkg:deb/ubuntu/libcrypt-pbkdf2-perl?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.161520-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20240.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcrypt-pbkdf2-perl",
"binary_version": "0.161520-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libcrypt-pbkdf2-perl",
"purl": "pkg:deb/ubuntu/libcrypt-pbkdf2-perl?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.161520-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20240.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcrypt-pbkdf2-perl",
"binary_version": "0.161520-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libcrypt-pbkdf2-perl",
"purl": "pkg:deb/ubuntu/libcrypt-pbkdf2-perl?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.161520-2",
"0.261630-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20240.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcrypt-pbkdf2-perl",
"binary_version": "0.261630-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libcrypt-pbkdf2-perl",
"purl": "pkg:deb/ubuntu/libcrypt-pbkdf2-perl?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.161520-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20240.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcrypt-pbkdf2-perl",
"binary_version": "0.161520-2"
}
]
}
}
],
"modified": "2026-10-17T12:53:16.350428002Z",
"provider": "osv",
"upstream": [
"CVE-2017-20240"
],
"references": [
"https://ubuntu.com/security/CVE-2017-20240",
"https://www.cve.org/CVERecord?id=CVE-2017-20240",
"https://lists.security.metacpan.org/cve-announce/msg/40929601/",
"https://github.com/arodland/Crypt-PBKDF2/pull/6",
"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"
]
},
"related_cves": [
{
"value": "CVE-2017-20240",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 353392,
"published_at": "2026-06-12T14:16:00+00:00"
}