CVE-2025-40914 Affecting perl-CryptX package, versions <0:0.080-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.06% (19th 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-PERLCRYPTX-10497855
  • published24 Jun 2025
  • disclosed11 Jun 2025

Introduced: 11 Jun 2025

NewCVE-2025-40914  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 perl-CryptX to version 0:0.080-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2025-1035.

NVD Description

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

Perl CryptX before version 0.087 contains a dependency that may be susceptible to an integer overflow.

CryptX embeds a version of the libtommath library that is susceptible to an integer overflow associated with CVE-2023-36328.