CVE-2026-2588

C

rypt::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
CPE cpe:2.3:a:timlegge:crypt\:\:nacl\:\:sodium:*:*:*:*:*:perl:*:*
First Time Timlegge
Timlegge crypt\
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
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
CWE
CWE-190

Integer Overflow or Wraparound