CVE-2026-41565 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.47% (43rd 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-17415252
  • published23 Jun 2026
  • disclosed28 May 2026

Introduced: 28 May 2026

CVE-2026-41565  (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 have a stack buffer overflow in four AEAD decrypt_verify helpers.

The gcm_decrypt_verify, ccm_decrypt_verify, chacha20poly1305_decrypt_verify and eax_decrypt_verify XS routines copied the caller-supplied authentication tag into a fixed 144-byte stack buffer (MAXBLOCKSIZE) without checking the supplied length. A longer tag overwrites the stack past the buffer. Version 0.088 added the clamp to gcm_decrypt_verify, and 0.088_001 added it to the other three.

Any caller of an affected helper that forwards an attacker-controlled tag longer than the buffer can trigger the overflow.