CVEfocus › CVE database › CVE-2025-40914

CVE-2025-40914Perl CryptX before version 0.087 contains a dependency that may be susceptible to an…

CVSS 9.8 CriticalEPSS 1.1% (higher than 65% of CVEs)Published 2025-06-11Updated 2025-06-11Assigner: CPANSec

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.

CWE-1395

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
6Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libcryptx-perlNot affected
vulnerable_code_not_present
Ubuntu 25.10libcryptx-perlNot affected
vulnerable_code_not_present
Ubuntu 24.04libcryptx-perlFix pending0.080-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2025-40914
Ubuntu 22.04libcryptx-perlFix pending0.076-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2025-40914
Ubuntu 20.04libcryptx-perlFix pending0.067-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2025-40914
Ubuntu 18.04libcryptx-perlFix pending0.056-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2025-40914
Debian 14libcryptx-perlFixed0.087-1DEBIAN-CVE-2025-40914
Debian 13libcryptx-perlFix pendingDEBIAN-CVE-2025-40914
Debian 12libcryptx-perlFix pendingDEBIAN-CVE-2025-40914

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Users should update to version 0.087 or later

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.