Back to overview

CVE-2026-13758

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.

Metadata

CVE ID
CVE-2026-13758
State
PUBLISHED
Assigner
CPANSec
Reserved
2026-06-29 17:50 UTC
Published
2026-06-29 20:42 UTC
Last updated
2026-06-29 22:24 UTC
Primary CWE
CWE-208
CWE-208 Observable Timing Discrepancy
Vendor / Product
MIK / CryptX
Sources
cve.org  ·  NVD

Severity & Metrics

No CVSS data available.

Affected products (1)
VendorProductPlatformVersions
MIK CryptX 0 < 0.088_001
Weakness (CWE)
CWESourceDescription
CWE-208 cna CWE-208 Observable Timing Discrepancy
Back to overview