CVE-2026-84970

Medium

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.

SeverityMedium
CVSS6.2
Exploit probability—
ProductMongodb C\+\+ Driver
PublishedSep 3, 2026
First seenSep 3, 2026
Weakness typeCWE-681CWE-681

How to fix

Update
  • mongodb c\+\+_driver4.5.2 or later

Affected products

ProductAffected versionsFixed in
mongodb c\+\+_driver3.2.0 ≤ v < 4.5.24.5.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.