{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*",
            "extracted_events": [
              {
                "introduced": "1.10.0"
              },
              {
                "fixed": "1.30.9"
              },
              {
                "introduced": "2.0.0"
              },
              {
                "fixed": "2.5.2"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "1cb8a16e863cea77a61530b832ed2c7c1dc5c065"
            },
            {
              "fixed": "f64476433230847fb0f43afaeb7be048eb817f8b"
            },
            {
              "introduced": "67817df0a9ed11b07e457477e6db1384da9421c4"
            },
            {
              "fixed": "52ffca1e649b597c51162b5b3b37f057b73b059d"
            }
          ],
          "repo": "https://github.com/mongodb/mongo-c-driver",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mongodb",
    "cwe_ids": [
      "CWE-190"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84965.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "1.10.0"
          },
          {
            "fixed": "1.30.9"
          },
          {
            "introduced": "2.0.0"
          },
          {
            "fixed": "2.5.2"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "An integer wraparound in an allocation size calculation in the BSON library's JSON parsing code can cause a buffer to be released while a following copy operation still writes through the stale pointer. On builds where sizes are 32 bits, an unauthenticated party able to supply a sufficiently large JSON input to an application that links the library may cause that application to terminate unexpectedly, resulting in denial of service.",
  "id": "CVE-2026-84965",
  "modified": "2026-09-24T03:30:52.016375871Z",
  "published": "2026-09-03T15:01:21.882Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://jira.mongodb.org/browse/CDRIVER-6405"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84965.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-84965"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Heap write primitive via size round-up wrap during JSON parsing on 32-bit builds"
}