---
title: CVE-2025-40914
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2025-40914
---

# CVE-2025-40914

Publication date 11 June 2025

Last updated 26 March 2026

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**9.8 · Critical**

[Score breakdown](https://ubuntu.com/security/CVE-2025-40914#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libcryptx-perl | 26.10 stonking | Not affected |
| 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Ignored end of life, was needs-triage |
| 24.10 oracular | Ignored end of life, was needs-triage |
| 24.04 LTS noble | Fixed in 0.080-2ubuntu0.1~esm1  Ubuntu Pro |
| 22.04 LTS jammy | Fixed in 0.076-1ubuntu0.1~esm1  Ubuntu Pro |
| 20.04 LTS focal | Fixed in 0.067-1ubuntu0.1~esm1  Ubuntu Pro |
| 18.04 LTS bionic | Fixed in 0.056-1ubuntu0.1~esm1  Ubuntu Pro |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

9.8 · Critical

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 9.8 · Critical |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-40914)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-40914)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2025-40914)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2025-40914)

### Related Ubuntu Security Notices (USN)

+ [USN-8128-1](https://usn.ubuntu.com/USN-8128-1)
+ CryptX vulnerabilities
+ 26 March 2026

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2025-40914>
* <https://lists.security.metacpan.org/cve-announce/msg/30332012/>
* <https://github.com/libtom/libtommath/pull/546>
* <https://github.com/DCIT/perl-CryptX/security/advisories/GHSA-6fh3-7qjq-8v22>
* <https://github.com/advisories/GHSA-j3xv-6967-cv88>
* <https://metacpan.org/release/MIK/CryptX-0.086/source/src/ltm/bn_mp_grow.c>
* <https://www.cve.org/CVERecord?id=CVE-2023-36328>
