Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Perl service using CryptX AEAD decrypt
-
DeliverySubmit request with oversized authentication tag
-
ExploitHelper copies tag past 144-byte stack buffer
-
ExecutionStack frame corrupted
-
PersistWorker process crashes (or potential control-flow hijack)
-
ImpactService availability impacted
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The calling Perl application must invoke one of four specific CryptX functions - gcm_decrypt_verify, ccm_decrypt_verify, chacha20poly1305_decrypt_verify, or eax_decrypt_verify - and pass an attacker-influenced authentication tag whose length is greater than 144 bytes (MAXBLOCKSIZE). CryptX itself is a library and is not exploitable in isolation: the application must (a) accept tag bytes from an untrusted source, (b) forward them to the helper without enforcing a length cap of its own, and (c) allow the supplied tag length to exceed the buffer. No authentication is required at the CryptX layer (PR:N), but real-world exploitability is gated by the consuming application's input validation and whether it exposes one of these AEAD helpers to network-reachable input. Note also that for version 0.088 specifically, only gcm_decrypt_verify is patched, so applications on 0.088 remain exploitable via the other three helpers. |
| Impact | The CVSS 7.5 score (AV:N/AC:L/PR:N/UI:N/C:N/I:N/A:H) reflects only the availability impact - confidentiality and integrity are explicitly rated None, which is consistent with a stack overflow that is most realistically a crash primitive rather than confirmed RCE, though stack smashing in C XS code without canaries could theoretically be weaponized for code execution depending on platform hardening. EPSS of 0.04% (13th percentile) is very low, no KEV listing, and no public PoC beyond the regression test added in the patch (which appends 200 'A' bytes to a valid tag), so this is a real but low-priority issue best classified as patch-during-next-cycle for most operators. The AV:N rating assumes the tag transits the network into a CryptX-using application - exploitability fundamentally depends on whether the calling Perl application forwards an attacker-controlled tag of attacker-controlled length, which is application-specific and not a property of CryptX alone; this nuance is not captured by the raw CVSS. CPANSec reporting and the upstream-driven coordinated disclosure (oss-security post on 2026-05-28) suggest a quality-assured finding rather than opportunistic mass exploitation. |
| Exploit ScenarioDerived | A web service uses CryptX to decrypt authenticated ciphertexts received from clients (for example, an API that accepts a base64-encoded ciphertext, nonce, and tag triple) and forwards the client-supplied tag bytes directly to gcm_decrypt_verify. An attacker submits a request whose tag field is longer than 144 bytes (e.g., 200+ bytes of arbitrary data appended to a plausible-looking tag), triggering the stack buffer overflow and crashing the Perl worker process - repeated submissions cause a denial of service, and on platforms without stack canaries the overflow may be steered toward control-flow hijack, though no public exploit demonstrates that today. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 29, 2026
Denial-of-service via stack buffer overflow in CryptX (Perl cryptography module) versions before 0.088_001 affects four AEAD decryption helpers that copy attacker-controlled authentication tags into a fixed 144-byte stack buffer without bounds checking. Remote attackers can crash any Perl application that passes untrusted tags to gcm_decrypt_verify, ccm_decrypt_verify, chacha20poly1305_decrypt_verify, or eax_decrypt_verify, resulting in process termination. No public exploit identified at time of analysis, and EPSS scoring (0.04%, 13th percentile) reflects low expected exploitation activity despite the network attack vector.
RemediationAI
Vendor-released patch: upgrade CryptX to 0.088_001 or later from CPAN (https://metacpan.org/release/MIK/CryptX-0.088_001); note that 0.088 is insufficient because it only clamps GCM and leaves CCM, ChaCha20-Poly1305, and EAX vulnerable, per upstream commits 57e69e541b0718ca8724c2f61514322a2d859bc1 and 7e56347d420aaf43b2ee1586f4a230492ccf1642 in DCIT/perl-CryptX. If immediate upgrade is impossible, audit calling code to enforce a maximum tag length of 16 bytes (or the actual cipher's standard tag size: 16 for GCM/CCM/ChaCha20-Poly1305/EAX) before invoking the affected helpers - this works because no legitimate AEAD construction produces tags larger than the 144-byte stack buffer, but it requires a code change in every consumer and will not protect callers you do not control. Distribution-level mitigation is to repackage Perl applications with the patched CryptX; see also the oss-security disclosure thread at http://www.openwall.com/lists/oss-security/2026/05/28/10 for community discussion.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CryptX is a widely used Perl module by Karel Miko (MIK on CPAN) providing a unified XS interface to the LibTomCrypt C library for cryptographic primitives including AEAD ciphers. The vulnerability is a classic CWE-121 stack-based buffer overflow located in the XS glue code (CryptX_AuthEnc_GCM.xs.inc and three companion files), where the XS routines declared a fixed-size stack array of MAXBLOCKSIZE (144 bytes) to hold the authentication tag, then used the Copy() macro to memcpy the SV-derived caller buffer of length t_len into it without comparing t_len to sizeof(tag). The patch (commits 57e69e5 and 7e56347) adds a clamp so that tag_len is min(t_len, sizeof(tag)) before copying. The affected CPE is cpe:2.3:a:mik:cryptx and the issue impacts any of the four AEAD modes (GCM, CCM, ChaCha20-Poly1305, EAX) exposed by the module.
Know when Cryptx gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (CPANSec).
CVSS VectorVendor: CPANSec
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
CryptX, a Perl cryptography library, contains a denial-of-service vulnerability that allows remote attackers to crash applications processing untrusted cryptographic tags. Organizations operating Perl-based services dependent on CryptX for encryption or authentication operations face service disruption risk. Patching to version 0.088_001 or later resolves this vulnerability.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
PRNG state reuse across forked processes in CryptX for Perl allows remote attackers to recover private signing keys thro
Non-constant-time AEAD authentication tag comparison in CryptX before 0.088_001 for Perl exposes a timing oracle in the
EUVD-2026-32906
GHSA-4p3p-7392-hjw4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB