Skip to content
CVE PROGRAM SOURCE RECORD5.9 Medium

CVE-2026-84970

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

MongoDB C++ Driver

Default version status: unaffected

  • 3.2.0 to < 4.5.2affected

References