CVE-2026-84970
JSON

5.9medium

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

Severity
5.9medium CVSS:4.0 by mongodb
Exploit likelihood
0.09% (higher than 0% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mongodb

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

Product or packageVersionsReported by
MongoDB C++ Driverfrom 3.2.0 before 4.5.2CVE List
mongodb c++_driverfrom 3.2.0 before 4.5.2NVD

All scores

mongodb5.9medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
mongodb6.2medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
NVD5.8medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H

Classification

CWE-681

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

https://jira.mongodb.org/browse/CXX-3547issue-tracking, vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-84970 changed 2026-09-03CVE Terms of Use
NVDCVE-2026-84970 changed 2026-09-10Public domain