CVE Explorer
CVE-2026-2588
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"Crypt-NaCl-Sodium","product":"Crypt::NaCl::Sodium","programFiles":["Sodium.xs"],"repo":"https://github.com/cpan-authors/crypt-nacl-sodium","vendor":"TIMLEGGE","versions":[{"lessThanOrEqual":"2.001","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a1ac024b7409279a62a31b25586521e0153b4d07f8185b7a4ed5bc2246be9c66 · sha256:d9a31474680873bb… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a1ac024b7409279a62a31b25586521e0153b4d07f8185b7a4ed5bc2246be9c66 · sha256:d9a31474680873bb… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-190","description":"CWE-190 Integer Overflow or Wraparound","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a1ac024b7409279a62a31b25586521e0153b4d07f8185b7a4ed5bc2246be9c66 · sha256:d9a31474680873bb… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"tags":["patch"],"url":"https://github.com/cpan-authors/crypt-nacl-sodium/commit/557388bdb4da416a56663cda0154b80cd524395c.patch"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a1ac024b7409279a62a31b25586521e0153b4d07f8185b7a4ed5bc2246be9c66 · sha256:d9a31474680873bb… · /containers/cna/references/2
{"tags":["patch"],"url":"https://github.com/cpan-authors/crypt-nacl-sodium/commit/8cf7f66ba922443e131c9deae1ee00fafe4f62e4.patch"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a1ac024b7409279a62a31b25586521e0153b4d07f8185b7a4ed5bc2246be9c66 · sha256:d9a31474680873bb… · /containers/cna/references/1
{"tags":["related"],"url":"https://metacpan.org/release/TIMLEGGE/Crypt-NaCl-Sodium-2.001/source/Sodium.xs#L2119"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a1ac024b7409279a62a31b25586521e0153b4d07f8185b7a4ed5bc2246be9c66 · sha256:d9a31474680873bb… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.