CVE-2026-13758 Affecting perl-CryptX-tests package, versions <0:0.088-2.amzn2023.0.3


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.28% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-PERLCRYPTXTESTS-20245055
  • published29 Sept 2026
  • disclosed29 Jun 2026

Introduced: 29 Jun 2026

CVE-2026-13758  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 perl-CryptX-tests to version 0:0.088-2.amzn2023.0.3 or higher.
This issue was patched in ALAS2023-2026-1834.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-CryptX-tests package and not the perl-CryptX-tests package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.