{"id":"CVE-2026-84965","summary":"Heap write primitive via size round-up wrap during JSON parsing on 32-bit builds","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.","modified":"2026-09-24T03:46:34.863088246Z","published":"2026-09-03T15:01:21.882Z","related":["openSUSE-SU-2026:11706-1"],"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"}]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mongodb/mongo-c-driver","events":[{"introduced":"1cb8a16e863cea77a61530b832ed2c7c1dc5c065"},{"fixed":"f64476433230847fb0f43afaeb7be048eb817f8b"},{"introduced":"67817df0a9ed11b07e457477e6db1384da9421c4"},{"fixed":"52ffca1e649b597c51162b5b3b37f057b73b059d"}],"database_specific":{"source":"CPE_RANGE","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"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-84965.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","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"}]}