Skip to main content

CryptX EUVDEUVD-2026-32906

| CVE-2026-41565 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-05-28 CPANSec GHSA-4p3p-7392-hjw4
7.5
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Perl service using CryptX AEAD decrypt
  2. Delivery
    Submit request with oversized authentication tag
  3. Exploit
    Helper copies tag past 144-byte stack buffer
  4. Execution
    Stack frame corrupted
  5. Persist
    Worker process crashes (or potential control-flow hijack)
  6. Impact
    Service 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

CryptX 0 <0.088_001

Affected Packages

euvd cryptx fix: 0.088_001

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

Vendor (CPANSec) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE HIGH
Red Hat 9.8 HIGH

Primary rating from Vendor (CPANSec).

CVSS VectorVendor: CPANSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
CVSS changed
May 29, 2026 - 16:27 NVD
7.5 (HIGH)
CVE Published
May 28, 2026 - 14:13 nvd
UNKNOWN (no severity yet)

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Vendor StatusVendor

SUSE

Severity: High

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy