HarborGuard / CVE
Back to search
CRITICALCVE-2026-2588Published Modified CNA CPANSec

CVE-2026-2588: Crypt::NaCl::Sodium versions through 2.001 for Perl has an integer overflow flaw on 32-bit systems

Crypt::NaCl::Sodium versions through 2.001 for Perl has an integer overflow flaw on 32-bit systems. Sodium.xs casts a STRLEN (size_t) to unsigned long long when passing a length pointer to libsodium functions. On 32-bit systems size_t is typically 32-bits while an unsigned long long is at least 64-bits.

Metrics

CVSS v3.1
9.1
Severity
CRITICAL
Fixed in
Affected Products
1
Affected packages
  • TIMLEGGE / Crypt::NaCl::Sodium
    ≤ 2.001
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H