{
  "id": "CVE-2025-0755",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-0755",
  "published_at": "2025-03-18T09:01:04.793Z",
  "title": "MongoDB C Driver bson library may be susceptible to buffer overflow",
  "vendor": "MongoDB Inc",
  "product": "libbson",
  "cvss": {
    "score": 8.4,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/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": "The various bson_append functions in the MongoDB C driver library may be susceptible to buffer overflow when performing operations that could result in a final BSON document which exceeds the maximum allowable size (INT32_MAX), resulting in a segmentation fault and possible application crash. This issue affected libbson versions prior to 1.27.5, MongoDB Server v8.0 versions prior to 8.0.1 and MongoDB Server v7.0 versions prior to 7.0.16",
  "cwe": "CWE-122",
  "cpes": [
    "cpe:2.3:a:mongodb:libbson:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*",
    "cpe:2.3:a:mongodb:mongodb:8.0.0:*:*:*:-:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.4,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "MongoDB Inc",
        "product": "libbson",
        "ranges": [
          "\u003c 1.27.5"
        ],
        "fixed_in": [
          "1.27.5"
        ]
      },
      {
        "vendor": "MongoDB Inc",
        "product": "MongoDB Server",
        "ranges": [
          "\u003e= 8.0, \u003c 8.0.1",
          "\u003e= 7.0, \u003c 7.0.16"
        ],
        "fixed_in": [
          "8.0.1",
          "7.0.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade libbson to 1.27.5 or later.",
      "Upgrade MongoDB Server to 8.0.1 or 7.0.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
