{"id":"CVE-2025-40906","published":"2025-05-16T15:15:49Z","modified":"2025-09-09T13:54:31Z","title":"BSON::XS versions 0.8.4 and earlier for Perl includes a bundled libbson 1.1.7, which has several vulnerabilities","vendor":"MONGODB","product":"BSON::XS","tier":"tail","description":{"text":"BSON::XS versions 0.8.4 and earlier for Perl includes a bundled libbson 1.1.7, which has several vulnerabilities.\n\nThose include CVE-2017-14227, CVE-2018-16790, CVE-2023-0437, CVE-2024-6381, CVE-2024-6383, and CVE-2025-0755. \n\nBSON-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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00646,"percentile":0.51916,"provenance":"source"},"cwes":[{"id":"CWE-1395","name":"Dependency on Vulnerable Third-Party Component"},{"id":"CWE-1104","name":"Use of Unmaintained Third Party Components"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html","tags":["mailing-list"]},{"url":"https://www.mongodb.com/community/forums/t/mongodb-perl-driver-end-of-life/7890","tags":["vendor-advisory"]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":10.38},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"mongodb","affectedVersions":[{"vendor":"MONGODB","product":"BSON::XS","versions":["<= 0.8.4"]}],"solutions":{"items":["Manually remove the bundled version of libbson, update the \"bson\" folder with an up-to-date version of libbson's source code and try building against it.","Consider using a security patched version of BSON::XS from a downstream packager or OS distribution."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-05-17T02:38:23.781160Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-15446","exploited":false,"provenance":"source"}}