Bug 2494712 - CVE-2026-13758 perl-CryptX: CryptX for Perl: Message forgery via non-constant time AEAD tag comparison [epel-all]
Summary: CVE-2026-13758 perl-CryptX: CryptX for Perl: Message forgery via non-constant...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: perl-CryptX
Version: epel10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Xavier Bachelot
QA Contact:
URL:
Whiteboard: {"flaws": ["391fa226-4d17-49f6-b49c-c...
Depends On:
Blocks: CVE-2026-13758
TreeView+ depends on / blocked
 
Reported: 2026-06-29 21:42 UTC by Jon Moroney
Modified: 2026-09-23 03:19 UTC (History)
1 user (show)

Fixed In Version: perl-CryptX-0.089-1.el8
Clone Of:
Environment:
Last Closed: 2026-07-21 09:41:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jon Moroney 2026-06-29 21:42:11 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.


Note You need to log in before you can comment on or make changes to this bug.