# CVE-2025-40906: BSON::XS versions 0.8.4 and earlier for Perl includes a bundled libbson 1.1.7, which has several vulnerabilities

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2025-05-16T15:15:49.810Z
- Modified: 2026-06-17T09:22:15.887Z
- Weaknesses: CWE-122, CWE-190, CWE-1104, CWE-1395
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: CPANSec

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

(As written by CVE List.)

## Affected

- BSON-XS: up to 0.8.4

## References

- <https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html> (mailing-list)
- <https://www.mongodb.com/community/forums/t/mongodb-perl-driver-end-of-life/7890> (vendor-advisory)

## Sources

- CVE List: [CVE-2025-40906](https://www.cve.org/CVERecord?id=CVE-2025-40906), CVE Terms of Use, modified 2025-09-09
- NVD: [CVE-2025-40906](https://nvd.nist.gov/vuln/detail/CVE-2025-40906), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-40906 · Whole record: https://cve.day/CVE-2025-40906.json · Rebuilt by cve.day 2026-11-25T22:58:58.144Z
