What’s Vulnerable › Vulnerabilities
CVE-2026-84970: Heap over-read or silent misparse via 32-bit truncation of JSON length in BSON JSON parser
- Severity: medium (CVSS 5.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-03 · updated 2026-09-10
- Weakness: CWE-681
Description
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 products
- MongoDB C++ Driver: from 3.2.0 before 4.5.2 — fixed in 4.5.2
How to fix
Upgrade to a fixed version: MongoDB C++ Driver 4.5.2. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-84970 or the next vulnerability affects your stack