CVE-2026-41565: CWE-121 Stack-based Buffer Overflow in MIK CryptX
CryptX versions prior to 0.088_001 for Perl contain a stack-based buffer overflow vulnerability in four AEAD decrypt_verify helper functions. These functions copy an attacker-controlled authentication tag into a fixed 144-byte stack buffer without validating the tag length, allowing an overflow if the tag is longer. The issue affects gcm_decrypt_verify, ccm_decrypt_verify, chacha20poly1305_decrypt_verify, and eax_decrypt_verify XS routines. Version 0.088 introduced a clamp to gcm_decrypt_verify, and 0.088_001 added clamps to the other three functions to prevent this overflow. No official patch or remediation guidance is currently documented in the vendor advisory or patch links.
AI Analysis
Technical Summary
The vulnerability CVE-2026-41565 is a stack-based buffer overflow (CWE-121) in the CryptX Perl module before version 0.088_001. Four AEAD decrypt_verify helper functions copy the authentication tag into a fixed-size 144-byte stack buffer without checking the tag length. An attacker can supply a tag longer than 144 bytes, causing a stack overflow. The overflow can be triggered by any caller forwarding an attacker-controlled tag exceeding the buffer size. The vulnerability was partially mitigated in version 0.088 for gcm_decrypt_verify and fully mitigated in 0.088_001 for the other three functions by adding length clamps. No official patch or advisory details are currently available to confirm remediation status.
Potential Impact
Successful exploitation of this vulnerability can cause a stack-based buffer overflow, which may lead to denial of service (application crash) or potentially arbitrary code execution depending on the context of use. The CVSS score is 7.5 (high severity) with network attack vector, low attack complexity, no privileges required, no user interaction, and impact limited to availability. There is no indication of confidentiality or integrity impact. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should upgrade to CryptX version 0.088_001 or later, where length clamps were added to prevent the overflow. Until an official patch or advisory is available, avoid passing untrusted or attacker-controlled authentication tags longer than 144 bytes to the affected decrypt_verify functions.
CVE-2026-41565: CWE-121 Stack-based Buffer Overflow in MIK CryptX
Description
CryptX versions prior to 0.088_001 for Perl contain a stack-based buffer overflow vulnerability in four AEAD decrypt_verify helper functions. These functions copy an attacker-controlled authentication tag into a fixed 144-byte stack buffer without validating the tag length, allowing an overflow if the tag is longer. The issue affects gcm_decrypt_verify, ccm_decrypt_verify, chacha20poly1305_decrypt_verify, and eax_decrypt_verify XS routines. Version 0.088 introduced a clamp to gcm_decrypt_verify, and 0.088_001 added clamps to the other three functions to prevent this overflow. No official patch or remediation guidance is currently documented in the vendor advisory or patch links.
CVSS v3.1
Score 7.5high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-41565 is a stack-based buffer overflow (CWE-121) in the CryptX Perl module before version 0.088_001. Four AEAD decrypt_verify helper functions copy the authentication tag into a fixed-size 144-byte stack buffer without checking the tag length. An attacker can supply a tag longer than 144 bytes, causing a stack overflow. The overflow can be triggered by any caller forwarding an attacker-controlled tag exceeding the buffer size. The vulnerability was partially mitigated in version 0.088 for gcm_decrypt_verify and fully mitigated in 0.088_001 for the other three functions by adding length clamps. No official patch or advisory details are currently available to confirm remediation status.
Potential Impact
Successful exploitation of this vulnerability can cause a stack-based buffer overflow, which may lead to denial of service (application crash) or potentially arbitrary code execution depending on the context of use. The CVSS score is 7.5 (high severity) with network attack vector, low attack complexity, no privileges required, no user interaction, and impact limited to availability. There is no indication of confidentiality or integrity impact. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should upgrade to CryptX version 0.088_001 or later, where length clamps were added to prevent the overflow. Until an official patch or advisory is available, avoid passing untrusted or attacker-controlled authentication tags longer than 144 bytes to the affected decrypt_verify functions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-04-21T12:45:20.133Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a186052e29bf47b500b420d
Added to database: 05/28/2026, 15:33:38 UTC
Last enriched: 06/04/2026, 20:54:32 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 77
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.