Skip to main content
VulnerabilityPublished Updated

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

0
Compare

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

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 May 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 24.04 LTSlibbson-xs-perlpkg:deb/ubuntu/libbson-xs-perl?arch=source&distro=nobleOther threatsAffected
  • 0.8.4-2 – 0.8.4-3build1
4 affected builds
Fixed in–
Ubuntu 22.04 LTSlibbson-xs-perlpkg:deb/ubuntu/libbson-xs-perl?arch=source&distro=jammyOther threatsAffected
  • =0.8.4-1build1
  • =0.8.4-1build2
Fixed in–
Ubuntu 20.04 LTSlibbson-xs-perlpkg:deb/ubuntu/libbson-xs-perl?arch=source&distro=focalOther threatsAffected
  • =0.8.1-1
  • =0.8.1-1ubuntu1
  • =0.8.2-1
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

Community reviews

Loading reviews…