CryptX versions before 0.088_001 for Perl have a stack buffer overflow in four AEAD decrypt_verify helpers
Summary
| CVE | CVE-2026-41565 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-28 16:16:22 UTC |
| Updated | 2026-05-29 15:29:42 UTC |
| Description | 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. |
Risk And Classification
Problem Types: CWE-121 | CWE-121 CWE-121 Stack-based Buffer Overflow
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.openwall.com/lists/oss-security/2026/05/28/10 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| github.com/DCIT/perl-CryptX/commit/7e56347d420aaf43b2ee1586f4a230492ccf1... | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| metacpan.org/release/MIK/CryptX-0.088_001 | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | |
| github.com/DCIT/perl-CryptX/commit/57e69e541b0718ca8724c2f61514322a2d859... | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-04-21T00:00:00.000Z | Issue reported. |
| CNA | 2026-04-23T00:00:00.000Z | Version 0.088 released with fix for gcm_decrypt_verify. |
| CNA | 2026-04-28T00:00:00.000Z | Version 0.088_001 released with fixes for the remaining three helpers. |
Solutions
CNA: Upgrade to CryptX 0.088_001 or later.
There are currently no legacy QID mappings associated with this CVE.