Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-2588 EUVD-2026-7558GHSA-8gq5-mm3m-7h4x

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

Published Feb 22, 2026 · Updated Feb 23, 2026 · Assigned by CPANSec

Description

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.

Affected products

VendorProductAffectedFixed
TIMLEGGE Crypt::NaCl::Sodium ≤ 2.001 —

References