libcrypt-argon2-perl — security advisory
Crypt::Argon2 versions from 0.017 before 0.031 for Perl perform a heap out-of-bounds read in argon2_verify on empty encoded input. The auto-detect form of argon2_verify passes encoded_len - 1 as the length argument to memchr without checking that encoded_len is non-zero. When the encoded string is empty, the size_t subtraction underflows to SIZE_MAX and memchr scans adjacent heap memory looking for a '$' separator byte. A caller that invokes argon2_verify against a stored hash that may legitimately be empty (for example a placeholder row or a NULL column materialised as an empty string) reads out-of-bounds heap memory, which can crash the process or leak the position of an adjacent '$' byte into subsequent parsing.
- Products
- libcrypt-argon2-perl
- Affected versions
- 0.013-1, 0.020-1, 0.022-1, 0.026-1, 0.029-1, 0.030-1, 0.031-1, 0.032-1
- Fixed versions
- 0.031-1
- CVEs
- CVE-2026-8463
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:39 UTC · Revision 2
Source evidence
Crypt::Argon2 versions from 0.017 before 0.031 for Perl perform a heap out-of-bounds read in argon2_verify on empty encoded input. The auto-detect form of argon2_verify passes encoded_len - 1 as the length argument to memchr without checking that encoded_len is non-zero. When the encoded string is empty, the size_t subtraction underflows to SIZE_MAX and memchr scans adjacent heap memory looking for a '$' separator byte. A caller that invokes argon2_verify against a stored hash that may legitimately be empty (for example a placeholder row or a NULL column materialised as an empty string) reads out-of-bounds heap memory, which can crash the process or leak the position of an adjacent '$' byte into subsequent parsing.
osv:DEBIAN-CVE-2026-8463
libcrypt-argon2-perl
Fixed versions: Not specified
libcrypt-argon2-perl
Fixed versions: Not specified
libcrypt-argon2-perl
Fixed versions: 0.031-1
Complete source record
{
"id": "da82d09ff45539ac69441c4ba1400732b011da8e3c90af68f99f23b6ff33643f",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-8463",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-8463",
"summary": "Crypt::Argon2 versions from 0.017 before 0.031 for Perl perform a heap out-of-bounds read in argon2_verify on empty encoded input. The auto-detect form of argon2_verify passes encoded_len - 1 as the length argument to memchr without checking that encoded_len is non-zero. When the encoded string is empty, the size_t subtraction underflows to SIZE_MAX and memchr scans adjacent heap memory looking for a '$' separator byte. A caller that invokes argon2_verify against a stored hash that may legitimately be empty (for example a placeholder row or a NULL column materialised as an empty string) reads out-of-bounds heap memory, which can crash the process or leak the position of an adjacent '$' byte into subsequent parsing.",
"evidence": "osv:DEBIAN-CVE-2026-8463",
"products": [
{
"name": {
"value": "libcrypt-argon2-perl",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.013-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.020-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.022-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.026-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.029-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.030-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.031-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.032-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "libcrypt-argon2-perl",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.030-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.031-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.032-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "libcrypt-argon2-perl",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.031-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "0.030-1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2026-8463",
"aliases": [
"DEBIAN-CVE-2026-8463"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libcrypt-argon2-perl",
"purl": "pkg:deb/debian/libcrypt-argon2-perl?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"0.013-1",
"0.020-1",
"0.022-1",
"0.026-1",
"0.029-1",
"0.030-1",
"0.031-1",
"0.032-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-8463.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libcrypt-argon2-perl",
"purl": "pkg:deb/debian/libcrypt-argon2-perl?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"0.030-1",
"0.031-1",
"0.032-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-8463.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.031-1"
}
]
}
],
"package": {
"name": "libcrypt-argon2-perl",
"purl": "pkg:deb/debian/libcrypt-argon2-perl?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"0.030-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-8463.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-27T09:47:32.726929058Z",
"provider": "osv",
"upstream": [
"CVE-2026-8463"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-8463"
]
},
"related_cves": [
{
"value": "CVE-2026-8463",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 460964,
"published_at": "2026-05-13T14:18:17.14+00:00"
}