{
  "id": "CVE-2025-40906",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-40906",
  "published_at": "2025-05-16T15:15:49.81Z",
  "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",
  "cvss": {
    "score": 9.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-1395",
  "cvss_by_source": {
    "cisa-adp": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "MONGODB",
        "product": "BSON::XS",
        "ranges": [
          "\u003c= 0.8.4"
        ],
        "fixed_in": null
      }
    ],
    "solutions": [
      "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."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://www.mongodb.com/community/forums/t/mongodb-perl-driver-end-of-life/7890"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
