CVE-2026-2588
Crypt::NaCl::Sodium versions through 2.001 for Perl has an integer overflow flaw on 32-bit systems
CVSS Score
9.1
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-190 |
| Vendor | timlegge |
| Product | crypt::nacl::sodium |
| Published | Feb 22, 2026 |
| Last Updated | Feb 23, 2026 |
Stay Ahead of the Next One
Get instant alerts for timlegge crypt::nacl::sodium
Be the first to know when new critical vulnerabilities affecting timlegge crypt::nacl::sodium are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
TIMLEGGE / Crypt::NaCl::Sodium
0 โค 2.001
References
metacpan.org: https://metacpan.org/release/TIMLEGGE/Crypt-NaCl-Sodium-2.001/source/Sodium.xs#L2119 github.com: https://github.com/cpan-authors/crypt-nacl-sodium/commit/8cf7f66ba922443e131c9deae1ee00fafe4f62e4.patch github.com: https://github.com/cpan-authors/crypt-nacl-sodium/commit/557388bdb4da416a56663cda0154b80cd524395c.patch
Credits
Timothy Legge (timlegge)