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.
Published: 2026-09-03
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a numeric truncation weakness that can cause the BSON library’s JSON parser to read past the end of the supplied buffer, leading to a heap over‑read. An attacker who controls the JSON text handed to the parser can receive memory contents that were not in the input, or the library may silently accept only a portion of the document, or the process may crash. The damage is limited to the host process that uses the driver; it does not affect the MongoDB server or credentials.

Affected Systems

The flaw is in the MongoDB C++ Driver, specifically the BSON JSON parsing component. Any application that links against the driver and calls its public JSON parsing interface while supplying very large JSON payloads is vulnerable. The report does not list specific version numbers, so all affected releases prior to the patch are potentially compromised.

Risk and Exploitability

The CVSS score of 5.9 indicates medium severity. No EPSS score is available, and the vulnerability is not included in the CISA KEV catalog. The lack of a network entry point means that exploitation requires control over the application’s input or integration with the driver. Because the effect is confined to the process that uses the driver, the risk profile is moderate, but the ability to cause a crash can be disruptive. A well‑formed large JSON document can trigger the over‑read; no special privileges or credentials are needed.

Generated by OpenCVE AI on September 3, 2026 at 16:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the MongoDB C++ Driver to the latest release that contains the fix for the truncation vulnerability.
  • Validate or limit the length of JSON input before calling the driver’s parsing function to keep it within the 32‑bit integer range.
  • Wrap the parsing call in exception handling or isolate it in a separate process to prevent a crash from taking down the application.

Generated by OpenCVE AI on September 3, 2026 at 16:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Thu, 03 Sep 2026 17:00:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb c\# Driver
Vendors & Products Mongodb
Mongodb c\# Driver

Thu, 03 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 03 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
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.
Title Heap over-read or silent misparse via 32-bit truncation of JSON length in BSON JSON parser
Weaknesses CWE-681
References
Metrics cvssV3_1

{'score': 6.2, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H'}

cvssV4_0

{'score': 5.9, 'vector': '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'}


Subscriptions

Mongodb C\# Driver
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-09-03T15:17:53.192Z

Reserved: 2026-09-02T17:58:52.743Z

Link: CVE-2026-84970

cve-icon Vulnrichment

Updated: 2026-09-03T15:17:46.857Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-03T15:17:36.403

Modified: 2026-09-03T17:52:05.570

Link: CVE-2026-84970

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T16:45:06Z

Weaknesses
  • CWE-681

    Incorrect Conversion between Numeric Types