---
title: "CVE-2025-40906\n    | Ubuntu"
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-40906?format=md
keywords: index, follow
---

# CVE-2025-40906

Publication date 16 May 2025

Last updated 11 July 2025

---

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-40906?format=md#impact-score)

Toggle side navigation

## Description

BSON::XS versions 0.8.4 and earlier for Perl includes a bundled libbson
1.1.7, which has several vulnerabilities.
Those include CVE-2017-14227, CVE-2018-16790, CVE-2023-0437, CVE-2024-6381,
CVE-2024-6383, and CVE-2025-0755.
BSON-XS was the official Perl XS implementation of MongoDB's BSON
serialization, but this distribution has reached its end of life as of
August 13, 2020 and is no longer supported.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libbson-xs-perl | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Ignored end of life, was needs-triage |
| 24.10 oracular | Ignored end of life, was needs-triage |
| 24.04 LTS noble | Needs evaluation |
| 22.04 LTS jammy | Needs evaluation |
| 20.04 LTS focal | Ignored end of standard support, was needs-triage |

---

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

## 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-40906)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-40906)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2025-40906)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2025-40906)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2025-40906>
* <https://lists.security.metacpan.org/cve-announce/msg/29655123/>
* <https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html>
* <https://www.mongodb.com/community/forums/t/mongodb-perl-driver-end-of-life/7890>
