Home / TIMLEGGE / Crypt::NaCl::Sodium / CVE-2026-30909
CVE-2026-30909: is it exploited, and which versions of TIMLEGGE Crypt::NaCl::Sodium are affected and fixed?
CVE-2026-30909 is an integer overflow vulnerability in TIMLEGGE Crypt::NaCl::Sodium. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: Crypt::NaCl::Sodium through 2.002 (CVE record by CPANSec). Fixed in 2.003 (NVD). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:13 UTC.
What is CVE-2026-30909?
Crypt::NaCl::Sodium versions through 2.002 for Perl has potential integer overflows. bin2hex, encrypt, aes256gcm_encrypt_afternm and seal functions do not check that output size will be less than SIZE_MAX, which could lead to integer wraparound causing an undersized output buffer. Encountering this issue is unlikely as the message length would need to be very large. For bin2hex() the bin_len would have to be > SIZE_MAX / 2 For encrypt() the msg_len would need to be > SIZE_MAX - 16U For aes256gcm_encrypt_afternm() the msg_len would need to be > SIZE_MAX - 16U For seal() the enc_len would need to be > SIZE_MAX - 64U
From the CVE record by CPANSec, last updated March 10, 2026, 13:41 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| TIMLEGGE | Crypt::NaCl::Sodium Crypt-NaCl-Sodium | through 2.002 |
As the CVE record by CPANSec states it, last updated March 10, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| timlegge | crypt\ | \ | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 10:33 UTC.
How severe is CVE-2026-30909?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-30909 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, March 10, 2026)
- EPSS
- 0.58% probability of exploitation activity in the next 30 days, percentile 49.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-190 Integer Overflow or Wraparound
How do I fix it? (from the CVE record)
Upgrade to version 2.003
Where are the vendor advisories and references?
- https://metacpan.org/release/TIMLEGGE/Crypt-NaCl-Sodium-2.002/source/Sodium.xs#L2116
- https://metacpan.org/release/TIMLEGGE/Crypt-NaCl-Sodium-2.002/source/Sodium.xs#L2310
- https://metacpan.org/release/TIMLEGGE/Crypt-NaCl-Sodium-2.002/source/Sodium.xs#L3304
- https://metacpan.org/release/TIMLEGGE/Crypt-NaCl-Sodium-2.002/source/Sodium.xs#L942
- https://github.com/cpan-authors/crypt-nacl-sodium/pull/24.patch patch
- https://metacpan.org/release/TIMLEGGE/Crypt-NaCl-Sodium-2.003/source/Changes release-notes
- http://www.openwall.com/lists/oss-security/2026/03/08/1
Who found and reported it?
- Brad Barden (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 7, 2026
- Published
- March 8, 2026, 00:46 UTC
- CVE record updated
- March 10, 2026, 13:41 UTC by CPANSec
- NVD
- Analyzed, last modified June 17, 2026, 10:33 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:13 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Crypt::NaCl::Sodium?
- Feb 22, 2026CVE-2026-2588 TIMLEGGE Crypt::NaCl::Sodium: integer overflow
Every CVE in Crypt::NaCl::Sodium
Questions about CVE-2026-30909
Is CVE-2026-30909 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.58% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of TIMLEGGE Crypt::NaCl::Sodium are affected by CVE-2026-30909?
Crypt::NaCl::Sodium through 2.002, per the CVE record by CPANSec. The tables above give every range the sources list.
Which version fixes CVE-2026-30909?
2.003, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-30909?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-30909?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.