{"id":"CVE-2026-2588","published":"2026-02-22T23:31:19Z","modified":"2026-02-23T18:47:51Z","title":"Crypt::NaCl::Sodium versions through 2.001 for Perl has an integer overflow flaw on 32-bit systems","vendor":"TIMLEGGE","product":"Crypt::NaCl::Sodium","tier":"tail","description":{"text":"Crypt::NaCl::Sodium versions through 2.001 for Perl has an integer overflow flaw on 32-bit systems.\n\nSodium.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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00403,"percentile":0.35399,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://metacpan.org/release/TIMLEGGE/Crypt-NaCl-Sodium-2.001/source/Sodium.xs#L2119","tags":["related"]},{"url":"https://github.com/cpan-authors/crypt-nacl-sodium/commit/8cf7f66ba922443e131c9deae1ee00fafe4f62e4.patch","tags":["patch"]},{"url":"https://github.com/cpan-authors/crypt-nacl-sodium/commit/557388bdb4da416a56663cda0154b80cd524395c.patch","tags":["patch"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":7.08},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"timlegge","affectedVersions":[{"vendor":"TIMLEGGE","product":"Crypt::NaCl::Sodium","versions":["<= 2.001"]}],"solutions":{"items":["Upgrade to version 2.002"],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-02-23T18:46:11.334461Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-7558","exploited":false,"provenance":"source"}}