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.

Project Subscriptions

Vendors Products
Timlegge Subscribe
Crypt::nacl::sodium Subscribe
Advisories

No advisories yet.

Fixes

Solution

Upgrade to version 2.002


Workaround

No workaround given by the vendor.

History

Mon, 23 Feb 2026 19:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 23 Feb 2026 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Timlegge
Timlegge crypt::nacl::sodium
Vendors & Products Timlegge
Timlegge crypt::nacl::sodium

Sun, 22 Feb 2026 23:45:00 +0000

Type Values Removed Values Added
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.
Title Crypt::NaCl::Sodium versions through 2.001 for Perl has an integer overflow flaw on 32-bit systems
Weaknesses CWE-190
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-02-23T18:47:51.202Z

Reserved: 2026-02-16T14:52:54.157Z

Link: CVE-2026-2588

cve-icon Vulnrichment

Updated: 2026-02-23T18:45:23.032Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-02-23T00:15:59.330

Modified: 2026-02-23T20:28:55.517

Link: CVE-2026-2588

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-02-23T14:28:39Z

Weaknesses