# 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

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-02)
- Published: 2026-05-13T12:40:35.917Z
- Modified: 2026-10-26T14:10:00.130Z
- Weaknesses: CWE-126, CWE-191
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- Crypt-Argon2: from 0.017 before 0.031
- leont crypt::argon2: from 0.017 before 0.031

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/Leont/crypt-argon2/commit/92eac03ce63d541e0ead7ea5a89b9b67ce0c0e64.patch> (patch)
- <https://metacpan.org/release/LEONT/Crypt-Argon2-0.031/changes> (release-notes)
- <http://www.openwall.com/lists/oss-security/2026/05/13/4> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2026-8463](https://www.cve.org/CVERecord?id=CVE-2026-8463), CVE Terms of Use, modified 2026-05-13
- NVD: [CVE-2026-8463](https://nvd.nist.gov/vuln/detail/CVE-2026-8463), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-8463 · Whole record: https://cve.day/CVE-2026-8463.json · Rebuilt by cve.day 2026-11-25T22:59:21.545Z
