CVE-2026-13758 Details
Description
CryptX versions before 0.088_001 for Perl compare AEAD authentication tags in non-constant time in the streaming decrypt_done path. The decrypt_done($tag) form compares it against the computed tag with memNE (memcmp() != 0), which short-circuits on the first differing byte, so its run time depends on the number of matching leading bytes. This affects all five AEAD modes: GCM, CCM, ChaCha20Poly1305, EAX and OCB. The one-shot *_decrypt_verify helpers are unaffected; they verify the tag inside libtomcrypt with a constant-time comparison. The timing difference is a tag-verification oracle. An attacker who can submit many candidate tags for the same nonce, ciphertext and associated data while measuring the timing precisely enough may recover the expected tag byte by byte and forge a message that verifies.
A vulnerability exists in CryptX versions prior to 0.088_001 for Perl, where the library's handling of AEAD authentication tags during the streaming decryption process is susceptible to timing attacks. The issue arises because the decryption function compares the provided authentication tag to the computed tag using a non-constant time comparison, allowing an attacker to infer information based on the timing of the comparison. This vulnerability affects all five AEAD modes implemented in CryptX: GCM, CCM, ChaCha20Poly1305, EAX, and OCB. Exploitation of this vulnerability could lead to forgery of messages that pass authentication checks.
Users are advised to update to CryptX version 0.088_001 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 29, 2026CISA-ADP
Assessed Jun 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/DCIT/perl-CryptX/commit/7e56347d420aaf43b2ee1586f4a230492ccf1642.patch | CPANSec | Source CodeVendor |
| https://metacpan.org/release/MIK/CryptX-0.088_001/changes | CPANSec | Release NotesVendor |
| http://www.openwall.com/lists/oss-security/2026/06/29/19 | CVE |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-208 | Observable Timing Discrepancy | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| CryptX | < 0.088_001 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jun 30, 2026 | CVE Modified | CISA-ADP |
| Jun 29, 2026 | CVE Modified | CVE |
| Jun 29, 2026 | New CVE Received | CPANSec |
Volerion