Skip to content
OpenAdvisories
Critical · 9.8 CVE-2025-40906 EUVD-2025-15446GHSA-5pww-x83q-7gjh

BSON::XS versions 0.8.4 and earlier for Perl includes a bundled libbson 1.1.7, which has several vulnerabilities

Published May 16, 2025 · Updated Sep 9, 2025 · 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.

Affected products

VendorProductAffectedFixed
MONGODB BSON::XS ≤ 0.8.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 libbson-xs-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS libbson-xs-perl No fix yet —
Ubuntu 22.04 LTS libbson-xs-perl No fix yet —
Ubuntu 20.04 LTS libbson-xs-perl No fix yet —

References