CVE-2026-2588

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

Configuration 1 (hide)

cpe:2.3:a:timlegge:crypt\:\:nacl\:\:sodium:*:*:*:*:*:perl:*:*

History

04 Mar 2026, 02:23

Type Values Removed Values Added
First Time Timlegge
Timlegge crypt\
CPE cpe:2.3:a:timlegge:crypt\:\:nacl\:\:sodium:*:*:*:*:*:perl:*:*
References () https://github.com/cpan-authors/crypt-nacl-sodium/commit/557388bdb4da416a56663cda0154b80cd524395c.patch - () https://github.com/cpan-authors/crypt-nacl-sodium/commit/557388bdb4da416a56663cda0154b80cd524395c.patch - Patch
References () https://github.com/cpan-authors/crypt-nacl-sodium/commit/8cf7f66ba922443e131c9deae1ee00fafe4f62e4.patch - () https://github.com/cpan-authors/crypt-nacl-sodium/commit/8cf7f66ba922443e131c9deae1ee00fafe4f62e4.patch - Patch
References () https://metacpan.org/release/TIMLEGGE/Crypt-NaCl-Sodium-2.001/source/Sodium.xs#L2119 - () https://metacpan.org/release/TIMLEGGE/Crypt-NaCl-Sodium-2.001/source/Sodium.xs#L2119 - Product, Release Notes

23 Feb 2026, 20:28

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.1

23 Feb 2026, 18:13

Type Values Removed Values Added
Summary
  • (es) Las versiones de Crypt::NaCl::Sodium hasta la 2.001 para Perl tienen una falla de desbordamiento de entero en sistemas de 32 bits. Sodium.xs convierte un STRLEN (size_t) a unsigned long long al pasar un puntero de longitud a las funciones de libsodium. En sistemas de 32 bits, size_t es típicamente de 32 bits, mientras que un unsigned long long es de al menos 64 bits.

23 Feb 2026, 00:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-23 00:15

Updated : 2026-03-04 02:23


NVD link : CVE-2026-2588

Mitre link : CVE-2026-2588

CVE.ORG link : CVE-2026-2588


JSON object : View

Products Affected

timlegge

  • crypt\
CWE
CWE-190

Integer Overflow or Wraparound