CryptX versions before 0.088_001 for Perl have a stack buffer overflow in four AEAD decrypt_verify helpers

Summary

CVECVE-2026-41565
StatePUBLISHED
AssignerCPANSec
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-05-28 16:16:22 UTC
Updated2026-05-29 15:29:42 UTC
DescriptionCryptX 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

SourceVendorProductVersionPlatforms
CNA MIK CryptX affected 0.088_001 custom Not specified

References

ReferenceSourceLinkTags
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

Additional Advisory Data

SourceTimeEvent
CNA2026-04-21T00:00:00.000ZIssue reported.
CNA2026-04-23T00:00:00.000ZVersion 0.088 released with fix for gcm_decrypt_verify.
CNA2026-04-28T00:00:00.000ZVersion 0.088_001 released with fixes for the remaining three helpers.

Solutions

CNA: Upgrade to CryptX 0.088_001 or later.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report