CVE-2026-84970
Heap over-read or silent misparse via 32-bit truncation of JSON length in BSON JSON parser
- State
- Published
- Severity
- 5.9 Medium
- Published
- Sep 3, 2026
- Updated
- Sep 3, 2026
- Reserved
- Sep 2, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.9 Medium | 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 |
| 3.1 | 6.2 Medium | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H | mongodb |
Weaknesses
- CWE-681 Incorrect Conversion between Numeric Types
Affected Products
| Product | Versions |
|---|---|
C++ DriverMongoDB |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.