CVE-2025-40906 Affecting libbson-xs-perl package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.05% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-LIBBSONXSPERL-10181971
  • published18 May 2025
  • disclosed16 May 2025

Introduced: 16 May 2025

NewCVE-2025-40906  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 libbson-xs-perl.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libbson-xs-perl package and not the libbson-xs-perl package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.