Read the docs
TI-2026-23735 Aliases CVE-2026-30909GHSA-qqmj-w4wh-9w2h

Integer overflow in TIMLEGGE Crypt::NaCl::Sodium

Priority MEDIUM 50CWE-190Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-190 and the CVSS impact.

Summary

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

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00588 48th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
TIMLEGGECrypt::NaCl::Sodiumup to 2.002—No fix listedCNA
  • Crypt::NaCl::Sodium VendorTIMLEGGE Affected up to 2.002 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:timlegge:crypt\:\:nacl\:\:sodium:*:*:*:*:*:perl:*:* nacl\VulnerableTIMLEGGE
  • cpe:2.3:a:timlegge:crypt\:\:nacl\:\:sodium:*:*:*:*:*:perl:*:* Versions nacl\ Vulnerable ·TIMLEGGE

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-30909
  2. 2026-10-03 Alias added: GHSA-qqmj-w4wh-9w2h
  3. 2026-10-25 EPSS moved to the below the 50th percentile

References

  • TI-2026-02211 Integer overflow in TIMLEGGE Crypt::NaCl::Sodium CVSS 3.1CRITICAL 9.1
  • TI-2025-01575 Perl's Crypt::Random module after 1.05 and before 1.56 may use rand() function for cryptographic functions CVSS 3.1HIGH 8.8

Sources