CVE-2026-30910: Crypt::Sodium::XS versions through 0.001000 for Perl has potential integer overflows
Crypt::Sodium::XS versions through 0.001000 for Perl has potential integer overflows.
Combined aead encryption, combined signature creation, and bin2hex functions do not check that output size will be less than SIZEMAX, which could lead to integer wraparound causing an undersized output buffer. This can cause a crash in bin2hex and encryption algorithms other than aes256gcm. For aes256gcm encryption and signatures, an undersized buffer could lead to buffer overflow.
Encountering this issue is unlikely as the message length would need to be very large.
For bin2hex the input size would have to be > SIZEMAX / 2 For aegis encryption the input size would need to be > SIZEMAX - 32U For other encryption the input size would need to be > SIZEMAX - 16U For signatures the input size would need to be > SIZEMAX - 64U
Affected Software
Remediation
Information
Event History
Frequently Asked Questions
What is the severity of CVE-2026-30910?
CVE-2026-30910 has been classified as a potential security vulnerability due to integer overflows.
How do I fix CVE-2026-30910?
To fix CVE-2026-30910, upgrade Crypt::Sodium::XS to version 0.001001 or later.
Which versions are affected by CVE-2026-30910?
CVE-2026-30910 affects Crypt::Sodium::XS versions up to and including 0.001000.
What type of vulnerability is CVE-2026-30910?
CVE-2026-30910 is related to integer overflows in various Crypt::Sodium::XS functions.
What software does CVE-2026-30910 impact?
CVE-2026-30910 impacts the Crypt::Sodium::XS library for Perl.