CVE-2025-40906: Libbson xs perl · BSON::XS versions 0.8.4 and earlier for Perl includes a bundled libbson 1.1.7, which
Affects libbson-xs-perlSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 9.8 Critical · end of life, no fix coming : replace or isolate libbson-xs-perl; no fix will be released.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- None coming – the product is end of life
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 May 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
No fix will be released: libbson-xs-perl is end of life. Replace it, or isolate it from untrusted networks until you can.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlibbson-xs-perlpkg:deb/ubuntu/libbson-xs-perl?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlibbson-xs-perlpkg:deb/ubuntu/libbson-xs-perl?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSlibbson-xs-perlpkg:deb/ubuntu/libbson-xs-perl?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2025-40906 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-40906 (opens in a new tab)
- lists.security.metacpan.org/cve-announce/msg/29655123/ (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00012.html (opens in a new tab)
- mongodb.com/community/forums/t/mongodb-perl-driver-end-of-life/7890 (opens in a new tab)