{"id":"CVE-2025-40906","state":"PUBLISHED","title":"BSON::XS versions 0.8.4 and earlier for Perl includes a bundled libbson 1.1.7, which has several vulnerabilities","description":"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.","publishedAt":"2025-05-16T15:15:49.810Z","updatedAt":"2025-09-09T13:54:31.287Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"CPANSec","products":["MONGODB BSON::XS"],"affected":[{"vendor":"MONGODB","product":"BSON::XS","packageName":"BSON-XS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.8.4","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","repo":"https://github.com/mongodb-labs/mongo-perl-bson-xs"}],"references":["https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html","https://www.mongodb.com/community/forums/t/mongodb-perl-driver-end-of-life/7890"],"weaknesses":["CWE-1395","CWE-1104","CWE-122","CWE-190"],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/40xxx/CVE-2025-40906.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-40906","state":"PUBLISHED","datePublished":"2025-05-16T15:15:49.810Z","dateUpdated":"2025-09-09T13:54:31.287Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2025-04-16T09:05:34.360Z"},"containers":{"cna":{"title":"BSON::XS versions 0.8.4 and earlier for Perl includes a bundled libbson 1.1.7, which has several vulnerabilities","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"MONGODB","product":"BSON::XS","packageName":"BSON-XS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.8.4","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","repo":"https://github.com/mongodb-labs/mongo-perl-bson-xs"}],"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"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1395","description":"CWE-1395 Dependency on Vulnerable Third-Party Component","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1104","description":"CWE-1104 Use of Unmaintained Third Party Components","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-122","description":"CWE-122 Heap-based Buffer Overflow","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-190","description":"CWE-190 Integer Overflow or Wraparound","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2025-09-05T13:22:22.125Z"},"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"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."}],"value":"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."},{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Consider using a security patched version of BSON::XS from a downstream packager or OS distribution."}],"value":"Consider using a security patched version of BSON::XS from a downstream packager or OS distribution."}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-05-17T02:38:23.781160Z","id":"CVE-2025-40906","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-09-09T13:54:31.287Z"}}]}}}