CVE-2026-30909 Crypt::NaCl::Sodium versions through 2.002 for Perl has potential integer overflows
Integer overflows in Crypt::NaCl::Sodium functions may cause undersized buffers, potentially leading to crashes or memory issues with extremely large inputs.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-30909?
CVE-2026-30909 is a critical vulnerability in TIMLEGGE Crypt::NaCl::Sodium, published on 8 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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
Weakness: CWE-190
Which versions are affected by CVE-2026-30909?
It affects 1 product.
Products include Timlegge Crypt\.
How do I fix CVE-2026-30909?
No fix has been published for CVE-2026-30909 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-30909 being exploited?
There is no known exploitation of CVE-2026-30909 in the wild and no public exploit code.
Other vulnerabilities in TIMLEGGE Crypt::NaCl::Sodium
Sources
Also known as GHSA-qqmj-w4wh-9w2h.