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.
{
"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"
}
]
}{
"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"
}