CVE-2026-84965

published 3 Sep 2026 · updated 3 Sep 2026

Heap write primitive via size round-up wrap during JSON parsing on 32-bit builds

5.1MediumCVSS 5.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in C Driver 1.30.9 and C Driver 2.5.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBC Driver>=1.10.0 <1.30.9, >=2.0.0 <2.5.21.30.9, 2.5.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-84965 severity on Zeptric[![CVE-2026-84965](https://zeptric.io/badge/cve/CVE-2026-84965.svg)](https://zeptric.io/cve/CVE-2026-84965)