CVE-2025-40914 Details
Description
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.
A critical integer overflow vulnerability has been identified in Perl CryptX versions prior to 0.087. This issue arises from CryptX embedding a vulnerable version of the LibTomMath library, which is susceptible to an integer overflow in the 'mp_grow' function. The overflow can be exploited by attackers to execute arbitrary code and cause a denial-of-service condition.
Users can upgrade to Perl CryptX version 0.087 or later, which addresses this vulnerability by including a patched version of the LibTomMath library. Instructions for upgrading can be found in the Perl CryptX documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 11, 2025CISA-ADP
Assessed Jun 11, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/advisories/GHSA-j3xv-6967-cv88 | CPANSec | Advisory |
| https://github.com/libtom/libtommath/pull/546 | CPANSec | Issue TrackingVendor |
| https://metacpan.org/release/MIK/CryptX-0.086/source/src/ltm/bn_mp_grow.c | CPANSec | Source CodeVendor |
| https://www.cve.org/CVERecord?id=CVE-2023-36328 | CPANSec | Advisory |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Perl CryptX | All versions |
CPE
Remediation
| |
| libtom libtommath | < commit beba892bc0d4e4ded4d667ab1d2a94f4d75109a9 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CPANSec |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 11, 2025 | CVE Modified | CISA-ADP |
| Jun 11, 2025 | New CVE Received | CPANSec |
Volerion