CVE-2026-84970

published 3 Sep 2026 · updated 3 Sep 2026

Heap over-read or silent misparse via 32-bit truncation of JSON length in BSON JSON parser

6.2MediumCVSS 6.2EPSS 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 4.5.2.

A numeric truncation weakness exists in the JSON parsing component of the MongoDB C++ Driver's BSON library. An actor who controls the text that an embedding application hands to the library's public JSON parsing interface, when that text is very large, can cause the library to read memory beyond the supplied buffer and return it to the caller, to silently accept only part of the input as a complete document, or to terminate the process. No MongoDB server, credentials, or non-default configuration is required; the effect is confined to the process that uses the library.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBC Driver>=3.2.0 <4.5.24.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-84970 severity on Zeptric[![CVE-2026-84970](https://zeptric.io/badge/cve/CVE-2026-84970.svg)](https://zeptric.io/cve/CVE-2026-84970)