{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-30909","published":"2026-03-08T01:15:49.387000Z","last_modified":"2026-06-17T10:33:07.807000Z","status":"Analyzed","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-190"],"cpes":[{"criteria":"cpe:2.3:a:timlegge:crypt\\:\\:nacl\\:\\:sodium:*:*:*:*:*:perl:*:*","part":"a","vendor":"timlegge","product":"crypt::nacl::sodium","version_end_excluding":"2.003"}],"cpes_truncated":false,"vendors":["timlegge"],"products":["timlegge/crypt-nacl-sodium"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-30909/","html_en":"/en/cve/CVE-2026-30909/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-30909","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-30909"},"untrusted":{"vendor_name":"Timlegge","product_name":"Crypt::nacl::sodium","desc_en":"Crypt::NaCl::Sodium versions through 2.002 for Perl has potential integer overflows.\n\nbin2hex, 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.\n\nEncountering this issue is unlikely as the message length would need to be very large.\n\nFor 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","affected":[{"untrusted_vendor":"TIMLEGGE","untrusted_product":"Crypt::NaCl::Sodium","versions":[]}],"references":[{"url":"https://github.com/cpan-authors/crypt-nacl-sodium/pull/24.patch","tags":["Patch"]},{"url":"https://metacpan.org/release/TIMLEGGE/Crypt-NaCl-Sodium-2.002/source/Sodium.xs#L2116","tags":["Product"]},{"url":"https://metacpan.org/release/TIMLEGGE/Crypt-NaCl-Sodium-2.002/source/Sodium.xs#L2310","tags":["Product"]},{"url":"https://metacpan.org/release/TIMLEGGE/Crypt-NaCl-Sodium-2.002/source/Sodium.xs#L3304","tags":["Product"]},{"url":"https://metacpan.org/release/TIMLEGGE/Crypt-NaCl-Sodium-2.002/source/Sodium.xs#L942","tags":["Product"]},{"url":"https://metacpan.org/release/TIMLEGGE/Crypt-NaCl-Sodium-2.003/source/Changes","tags":["Release Notes"]},{"url":"http://www.openwall.com/lists/oss-security/2026/03/08/1","tags":["Mailing List","Third Party Advisory"]}]}}