CVE-2026-8463 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
MediumCVSS 5.3
EPSS 0.33%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| LEONT Crypt::Argon2 | >= 0.017, < 0.031 | 0.031 |
| debian/libcrypt-argon2-perl(Debian:12) | All versions | No fix listed |
| debian/libcrypt-argon2-perl(Debian:12) | = 0.013-1 | No fix listed |
| debian/libcrypt-argon2-perl(Debian:12) | = 0.020-1 | No fix listed |
| debian/libcrypt-argon2-perl(Debian:12) | = 0.022-1 | No fix listed |
| debian/libcrypt-argon2-perl(Debian:12) | = 0.026-1 | No fix listed |
| debian/libcrypt-argon2-perl(Debian:12) | = 0.029-1 | No fix listed |
| debian/libcrypt-argon2-perl(Debian:12) | = 0.030-1 | No fix listed |
| debian/libcrypt-argon2-perl(Debian:12) | = 0.031-1 | No fix listed |
| debian/libcrypt-argon2-perl(Debian:12) | = 0.032-1 | No fix listed |
| debian/libcrypt-argon2-perl(Debian:13) | All versions | No fix listed |
| debian/libcrypt-argon2-perl(Debian:13) | = 0.030-1 | No fix listed |
| debian/libcrypt-argon2-perl(Debian:13) | = 0.031-1 | No fix listed |
| debian/libcrypt-argon2-perl(Debian:13) | = 0.032-1 | No fix listed |
| debian/libcrypt-argon2-perl(Debian:14) | < 0.031-1 | 0.031-1 |
| debian/libcrypt-argon2-perl(Debian:14) | = 0.030-1 | No fix listed |
| alpine/perl-crypt-argon2(Alpine:v3.24) | >= 0.017, < 0.031-r0 | 0.031-r0 |
| ubuntu/libcrypt-argon2-perl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libcrypt-argon2-perl(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libcrypt-argon2-perl(Ubuntu:26.10) | All versions | No fix listed |
References
- github.com patch
- metacpan.org release-notes
- www.openwall.com mailing-list third-party-advisory
- Debian Security Tracker CVE-2026-8463 vendor-advisory
- security.alpinelinux.org vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org