CVE-2025-40906: critical vulnerability in MONGODB BSON::XS
BSON::XS versions 0.8.4 and earlier for Perl includes a bundled libbson 1.1.7, which has several vulnerabilities
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
BSON::XS, a Perl library for handling MongoDB data format, bundles an outdated version of libbson with multiple known security flaws. Using this library exposes your application to several serious vulnerabilities that attackers can exploit.
BSON::XS ≤0.8.4 bundles libbson 1.1.7 which contains multiple unpatched CVEs including buffer overflows, integer overflows, and memory corruption issues (CVE-2017-14227, CVE-2018-16790, CVE-2023-0437, CVE-2024-6381, CVE-2024-6383, CVE-2025-0755). The library reached end-of-life in August 2020 and receives no security updates; exploitation occurs through malformed BSON input during deserialization.