CVE Catalog

CVE-2026-8463

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.33%

26th percentile - higher than 26% of all known CVEs

Summary

A heap out-of-bounds read vulnerability in Crypt::Argon2 versions 0.017 before 0.031 for Perl occurs in argon2_verify on empty encoded input. The auto-detect form passes encoded_len - 1 to memchr without checking for zero, causing a size_t underflow and scanning adjacent heap memory.

Risk Assessment

Calling argon2_verify with an empty string (e.g., from a placeholder row or NULL column) can crash the process or leak the position of an adjacent '$' byte.

Recommendation

Update Crypt::Argon2 to version 0.031 or later, which includes a fix checking the length before calling memchr.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS