{"id":"UBUNTU-CVE-2026-41565","details":"CryptX versions before 0.088_001 for Perl have a stack buffer overflow in four AEAD decrypt_verify helpers. The gcm_decrypt_verify, ccm_decrypt_verify, chacha20poly1305_decrypt_verify and eax_decrypt_verify XS routines copied the caller-supplied authentication tag into a fixed 144-byte stack buffer (MAXBLOCKSIZE) without checking the supplied length. A longer tag overwrites the stack past the buffer. Version 0.088 added the clamp to gcm_decrypt_verify, and 0.088_001 added it to the other three. Any caller of an affected helper that forwards an attacker-controlled tag longer than the buffer can trigger the overflow.","modified":"2026-06-03T11:23:42Z","published":"2026-05-28T16:16:00Z","upstream":["CVE-2026-41565"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-41565"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-41565"},{"type":"REPORT","url":"https://lists.security.metacpan.org/cve-announce/msg/40477993/"},{"type":"REPORT","url":"https://github.com/DCIT/perl-CryptX/commit/57e69e541b0718ca8724c2f61514322a2d859bc1.patch"},{"type":"REPORT","url":"https://github.com/DCIT/perl-CryptX/commit/7e56347d420aaf43b2ee1586f4a230492ccf1642.patch"},{"type":"REPORT","url":"https://metacpan.org/release/MIK/CryptX-0.088_001"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2026/05/28/10"}],"affected":[{"package":{"name":"libcryptx-perl","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libcryptx-perl?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.055-1","0.056-1","0.056-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.056-1ubuntu0.1~esm1","binary_name":"libcryptx-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41565.json"}},{"package":{"name":"libcryptx-perl","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/libcryptx-perl?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.064-1","0.064-1build1","0.066-1","0.067-1","0.067-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.067-1ubuntu0.1~esm1","binary_name":"libcryptx-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41565.json"}},{"package":{"name":"libcryptx-perl","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/libcryptx-perl?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.069-1build1","0.073-1","0.074-1","0.075-1","0.076-1","0.076-1build1","0.076-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcryptx-perl","binary_version":"0.076-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41565.json"}},{"package":{"name":"libcryptx-perl","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/libcryptx-perl?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.078-1","0.080-1","0.080-2","0.080-2build1","0.080-2build2","0.080-2build3","0.080-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcryptx-perl","binary_version":"0.080-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41565.json"}},{"package":{"name":"libcryptx-perl","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libcryptx-perl?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.085-1","0.087-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcryptx-perl","binary_version":"0.087-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41565.json"}},{"package":{"name":"libcryptx-perl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libcryptx-perl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.087-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcryptx-perl","binary_version":"0.087-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41565.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}