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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"mongodb:c_driver": [
">= 1.10.0, < 1.30.9",
">= 2.0.0, < 2.5.2"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-84965",
"id": "CVE-2026-84965",
"imported": "2026-12-03T15:22:14.641Z",
"modified": "2026-09-22T16:00:19.730Z",
"published": "2026-09-03T16:18:25.417Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-84965"
}
]
}