CVE-2026-8463: CWE-126 Buffer Over-read in LEONT Crypt::Argon2
CVE-2026-8463 is a medium severity vulnerability in LEONT's Crypt::Argon2 Perl module versions from 0.017 before 0.031. It involves a heap out-of-bounds read in the argon2_verify function when processing an empty encoded input string. This occurs because the function passes encoded_len - 1 to memchr without verifying that encoded_len is non-zero, causing an underflow and resulting in memory beyond the heap being read. This can lead to process crashes or unintended information disclosure related to adjacent memory content. No official patch or remediation guidance is currently available from the vendor.
AI Analysis
Technical Summary
The vulnerability in Crypt::Argon2 versions 0.017 up to but not including 0.031 arises from improper handling of empty encoded input in the argon2_verify function. Specifically, the function uses encoded_len - 1 as the length argument to memchr without checking if encoded_len is zero. When the encoded string is empty, this subtraction underflows to SIZE_MAX, causing memchr to scan out-of-bounds heap memory searching for a '$' separator byte. This can cause a heap out-of-bounds read, potentially crashing the process or leaking memory content related to the position of the '$' byte in adjacent memory. The issue is classified under CWE-126 (Buffer Over-read) and CWE-191 (Integer Underflow).
Potential Impact
The vulnerability can cause a denial of service through process crashes due to out-of-bounds memory reads. Additionally, it may leak information about adjacent heap memory contents, specifically the position of a '$' byte, which could be used in further parsing or analysis. There is no indication of confidentiality, integrity, or availability impacts beyond these effects. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid invoking argon2_verify with potentially empty encoded input strings. Validate inputs before calling argon2_verify to ensure encoded strings are non-empty to prevent triggering the out-of-bounds read.
CVE-2026-8463: CWE-126 Buffer Over-read in LEONT Crypt::Argon2
Description
CVE-2026-8463 is a medium severity vulnerability in LEONT's Crypt::Argon2 Perl module versions from 0.017 before 0.031. It involves a heap out-of-bounds read in the argon2_verify function when processing an empty encoded input string. This occurs because the function passes encoded_len - 1 to memchr without verifying that encoded_len is non-zero, causing an underflow and resulting in memory beyond the heap being read. This can lead to process crashes or unintended information disclosure related to adjacent memory content. No official patch or remediation guidance is currently available from the vendor.
CVSS v3.1
Score 5.3medium
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Crypt::Argon2 versions 0.017 up to but not including 0.031 arises from improper handling of empty encoded input in the argon2_verify function. Specifically, the function uses encoded_len - 1 as the length argument to memchr without checking if encoded_len is zero. When the encoded string is empty, this subtraction underflows to SIZE_MAX, causing memchr to scan out-of-bounds heap memory searching for a '$' separator byte. This can cause a heap out-of-bounds read, potentially crashing the process or leaking memory content related to the position of the '$' byte in adjacent memory. The issue is classified under CWE-126 (Buffer Over-read) and CWE-191 (Integer Underflow).
Potential Impact
The vulnerability can cause a denial of service through process crashes due to out-of-bounds memory reads. Additionally, it may leak information about adjacent heap memory contents, specifically the position of a '$' byte, which could be used in further parsing or analysis. There is no indication of confidentiality, integrity, or availability impacts beyond these effects. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid invoking argon2_verify with potentially empty encoded input strings. Validate inputs before calling argon2_verify to ensure encoded strings are non-empty to prevent triggering the out-of-bounds read.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-05-13T11:08:17.272Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a047e63cbff5d8610cf39a9
Added to database: 05/13/2026, 13:36:35 UTC
Last enriched: 05/20/2026, 19:16:12 UTC
Last updated: 06/28/2026, 08:51:26 UTC
Views: 66
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.