Security Advisories (2)
CVE-2025-40906 (2025-05-16)

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.

CVE-2024-6383 (2024-07-03)

The bson_string_append function in MongoDB C Driver may be vulnerable to a buffer overflow where the function might attempt to allocate too small of buffer and may lead to memory corruption of neighbouring heap memory. This issue affects libbson versions prior to 1.27.1

Changes for version v0.8.1 - 2019-08-13

  • !!! END OF LIFE NOTICE !!!
    • Version v0.8.0 is the final feature release of the MongoDB BSON::XS library. The library is now in a 12-month "sunset" period and will receive security patches and critical bug fixes only. The BSON::XS library will be end-of-life and unsupported on August 13, 2020.

Documentation

Modules

XS implementation of MongoDB's BSON serialization