Junglewise Threat Intelligence

CVE-2026-8463: Leont Crypt::Argon2 heap out-of-bounds read in argon2_verify

CVE-2026-8463 · Severity: medium · CVSS 5.3 · Published 2026-05-13

Executive brief

Crypt::Argon2 is a Perl library used for securely hashing and verifying passwords. A flaw in the password verification function allows the system to crash or behave unpredictably if it attempts to verify an empty password hash, such as those found in empty database columns or placeholder records. This could lead to a denial-of-service condition where an application becomes unavailable.

Technical details

The vulnerability is caused by an integer underflow in the `argon2_verify` function within `Argon2.xs`. When an empty string is provided as the encoded hash input, the code performs `encoded_len - 1` without a bounds check, resulting in a `size_t` underflow to `SIZE_MAX`. This value is passed to `memchr`, causing it to scan adjacent heap memory for a ' separator byte. An attacker can trigger this by providing an empty hash string to an application using this library, potentially leading to a denial-of-service (crash) or a side-channel leak of heap data based on the position of found characters. The issue is fixed in version 0.031.

Affected products

  • Leont Crypt::Argon2 >= 0.017, < 0.031

Timeline

  • 2026-05-12: disclosed: Issue reported to maintainer
  • 2026-05-13: patched: Crypt-Argon2 0.031 released with fix
  • 2026-05-13: advisory: NVD and OSS-Security advisory published

References