{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "8da192f9ca2d4f6464897b22b3029c227043f0cb"
            }
          ],
          "repo": "https://github.com/mongodb/mongo-python-driver",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "An out-of-bounds read in the 'bson' module of PyMongo 4.6.2 or earlier allows deserialization of malformed BSON provided by a Server to raise an exception which may contain arbitrary application memory.",
  "id": "CVE-2024-5629",
  "modified": "2025-11-19T17:33:47.533704713Z",
  "published": "2024-06-05T15:15:12.737Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://lists.debian.org/debian-lts-announce/2024/09/msg00032.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://jira.mongodb.org/browse/PYTHON-4305"
    },
    {
      "type": "ADVISORY",
      "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00007.html"
    },
    {
      "type": "REPORT",
      "url": "https://jira.mongodb.org/browse/PYTHON-4305"
    },
    {
      "type": "FIX",
      "url": "https://jira.mongodb.org/browse/PYTHON-4305"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}