Skip to content
OpenAdvisories
Low · 3.7 CVE-2026-13758 EUVD-2026-40229GHSA-55gr-9963-833c

CryptX versions before 0.088_001 for Perl compare AEAD authentication tags in non-constant time in the streaming decrypt_done path

Published Jun 29, 2026 · Updated Jun 30, 2026 · Assigned by CPANSec

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.

Affected products

VendorProductAffectedFixed
MIK CryptX < 0.088_001 0.088_001

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libcryptx-perl 0.089-1 —
Debian 13 libcryptx-perl No fix yet —
Debian 12 libcryptx-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS libcryptx-perl No fix yet —
Ubuntu 25.10 libcryptx-perl No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS libcryptx-perl No fix yet —
Ubuntu Pro 22.04 LTS libcryptx-perl No fix yet —
Ubuntu Pro 20.04 LTS libcryptx-perl No fix yet —
Ubuntu Pro 18.04 LTS libcryptx-perl No fix yet —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 perl-CryptX +1 0.088-2.amzn2023.0.3 ALAS2023-2026-1834

Advisories 3

References