CVE-2026-84970
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 package | Versions | Reported by |
|---|---|---|
| MongoDB C++ Driver | from 3.2.0 before 4.5.2 | CVE List |
| mongodb c++_driver | from 3.2.0 before 4.5.2 | NVD |
All scores
| mongodb | 5.9medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N |
| mongodb | 6.2medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H |
| NVD | 5.8medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://jira.mongodb.org/browse/CXX-3547 | issue-tracking, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-84970 changed 2026-09-03 | CVE Terms of Use |
| NVD | CVE-2026-84970 changed 2026-09-10 | Public domain |