CVE-2026-13758: CWE-208 Observable Timing Discrepancy in MIK CryptX
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.
AI Analysis
Technical Summary
CryptX versions prior to 0.088_001 for Perl perform AEAD authentication tag comparison in the streaming decrypt_done path using memcmp(), which short-circuits on the first differing byte. This results in a timing discrepancy (CWE-208) that can be exploited as a tag-verification oracle. The vulnerability affects all five AEAD modes supported by CryptX (GCM, CCM, ChaCha20Poly1305, EAX, OCB). The one-shot decrypt_verify functions are unaffected as they use constant-time verification inside libtomcrypt. An attacker with the ability to submit many candidate tags for the same nonce, ciphertext, and associated data and measure timing precisely may recover the expected tag byte-by-byte and forge a valid message. No official patch or remediation level is provided in the advisory data.
Potential Impact
The vulnerability allows an attacker to exploit timing differences during AEAD tag verification to recover the authentication tag byte-by-byte. This can lead to message forgery for the affected streaming decrypt_done function. However, the impact is limited by the attack complexity, requiring precise timing measurements and multiple attempts. The one-shot decrypt_verify helpers remain secure. The CVSS score of 3.7 reflects a low severity impact with no direct confidentiality, integrity, or availability compromise without significant attacker effort.
Mitigation Recommendations
No official patch or remediation guidance is currently available. Users should avoid using the streaming decrypt_done($tag) function for AEAD tag verification in CryptX versions before 0.088_001. Instead, use the one-shot *_decrypt_verify helpers which perform constant-time tag verification. Monitor the vendor's advisory channels for updates or patches addressing this timing side-channel vulnerability.
CVE-2026-13758: CWE-208 Observable Timing Discrepancy in MIK CryptX
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.
CVSS v3.1
Score 3.7low
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CryptX versions prior to 0.088_001 for Perl perform AEAD authentication tag comparison in the streaming decrypt_done path using memcmp(), which short-circuits on the first differing byte. This results in a timing discrepancy (CWE-208) that can be exploited as a tag-verification oracle. The vulnerability affects all five AEAD modes supported by CryptX (GCM, CCM, ChaCha20Poly1305, EAX, OCB). The one-shot decrypt_verify functions are unaffected as they use constant-time verification inside libtomcrypt. An attacker with the ability to submit many candidate tags for the same nonce, ciphertext, and associated data and measure timing precisely may recover the expected tag byte-by-byte and forge a valid message. No official patch or remediation level is provided in the advisory data.
Potential Impact
The vulnerability allows an attacker to exploit timing differences during AEAD tag verification to recover the authentication tag byte-by-byte. This can lead to message forgery for the affected streaming decrypt_done function. However, the impact is limited by the attack complexity, requiring precise timing measurements and multiple attempts. The one-shot decrypt_verify helpers remain secure. The CVSS score of 3.7 reflects a low severity impact with no direct confidentiality, integrity, or availability compromise without significant attacker effort.
Mitigation Recommendations
No official patch or remediation guidance is currently available. Users should avoid using the streaming decrypt_done($tag) function for AEAD tag verification in CryptX versions before 0.088_001. Instead, use the one-shot *_decrypt_verify helpers which perform constant-time tag verification. Monitor the vendor's advisory channels for updates or patches addressing this timing side-channel vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-06-29T17:50:18.724Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a42de5d27e9c79719807156
Added to database: 06/29/2026, 21:06:37 UTC
Last enriched: 07/06/2026, 22:25:41 UTC
Last updated: 08/13/2026, 18:11:05 UTC
Views: 79
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.