CVE-2026-8463
published medium CVSS 3.1 · 5.3Crypt::Argon2 versions from 0.017 before 0.031 for Perl perform a heap out-of-bounds read in argon2_verify on empty encoded input
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| LEONT | — | Crypt-Argon2Crypt::Argon2 · 0.017 to < 0.031 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Alpine Linux | edge | perl-crypt-argon2 | Fixed | 0.031-r0 | Package fix record |
| Alpine Linux | v3.24 | perl-crypt-argon2 | Fixed | 0.031-r0 | Package fix record |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| LEONT | Crypt::Argon2 | 0.017 to < 0.031 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-126 CWE-126 Buffer Over-read
- CWE-191 CWE-191 Integer Underflow (Wrap or Wraparound)
References
3Provider assertions
3CPANSec · cna
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
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c588b30c8f5acdb7526035c53873ad5eda676950eea6148927f8e2d5db13bba7
- Ingested
- 23 Sep 2026, 09:39:07 UTC
- Source record
- Official CVE record