Vulnerabilities

CVE-2026-2588

Critical 9.1 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-02-23
Last modified
2026-06-17
Assigned by
9b29abf9-4ab0-4765-b253-1875cd9b441e
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Scored by
134c704f-9b21-4f2e-91b3-4a467353bcc0
Probability of exploitation
0.3 % higher than 27 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Timlegge Crypt::nacl::sodium ≤ 2.001 Affected

Weakness type

  • CWE-190: Integer Overflow or Wraparound

    The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is i…

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities