CVE-2026-41565
CryptX versions before 0.088_001 for Perl contain a stack buffer overflow vulnerability in four AEAD decrypt_verify helper functions. The affected routines—gcm_decrypt_verify, ccm_decrypt_verify, chacha20poly1305_decrypt_verify, and eax_decrypt_verify—copy caller-supplied authentication tags into a fixed 144-byte stack buffer (MAXBLOCKSIZE) without validating the tag length. An attacker-controlled tag longer than 144 bytes triggers stack corruption. Version 0.088 introduced length clamping for gcm_decrypt_verify, and version 0.088_001 extended this protection to the remaining three functions. Any application passing untrusted authentication tag data to these helpers is vulnerable to memory corruption and potential code execution.