Heap over-read or silent misparse via 32-bit truncation of JSON length in BSON JSON parser
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA C++ Driver (MongoDB) Fixed in 4.5.2
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
MongoDB C++ Driver 4.5.2
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2026-58389 BSON element injection via NUL-embedded document keys in builder appendPriority LOW 25
Timeline
- 2026-10-02 Threatist record created from CVE-2026-84970
- 2026-10-03 Alias added: GHSA-j94p-2ppx-483m
References
Advisory 1
More MongoDB C++ Driver vulnerabilities
- TI-2026-56243 Cross-tenant database retargeting via dot/NUL injection in namespace strings in the C++ Driver CVSS 4.0HIGH 8.6
- TI-2026-60059 GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB C++ Driver CVSS 4.0MEDIUM 6.1
- TI-2026-58389 BSON element injection via NUL-embedded document keys in builder append CVSS 4.0MEDIUM 5.9
Sources
- CVE-2026-84970 · CVE Program
- CVE-2026-84970 · NVD
- FIRST EPSS
- GHSA-j94p-2ppx-483m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences