Description
An incorrect numeric type conversion in the BSON document building component of the MongoDB C++ Driver may cause a length value to be interpreted incorrectly. When an application supplies an extremely large, non-terminated field name to the builder, the library may read memory outside the intended buffer and terminate the calling process. No authentication is required, but the calling application must pass the oversized name in a specific form.
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 arises from an incorrect numeric type conversion in the BSON document building component of the MongoDB C++ Driver. When an application supplies an extremely large, non‑terminated field name to the builder, the numeric conversion may interpret the length value incorrectly, causing a read outside the intended buffer and terminating the calling process. The result is a denial‑of‑service condition; the attacker does not need authentication but must deliver the oversized name in a specific way.

Affected Systems

This defect affects the MongoDB C++ Driver. No specific driver versions are enumerated in the advisory, so any deployment of the driver that includes the vulnerable component is potentially exposed. The issue is tied to the builder API used to construct BSON documents in C++ applications that interact with MongoDB.

Risk and Exploitability

The CVSS score of 5.9 indicates moderate severity. The EPSS score is unavailable, and the vulnerability is not listed in CISA KEV, suggesting no known exploited samples at this time. Because no authentication is required, the main barrier to exploitation is the need to craft the oversized, non‑terminated field name. If an attacker can inject such input into an application that uses the vulnerable driver, they can cause the application to crash. The attack vector is therefore dependent on the application's ability to accept arbitrary field names from an untrusted source.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the MongoDB C++ Driver to the latest released version that includes the fixed builder logic.
  • Implement input validation in the application to ensure field names are within expected length limits and are properly terminated before passing them to the builder.
  • If upgrading is not immediately possible, limit exposure by configuring the application to reject or sanitize oversized field names from external sources.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Thu, 03 Sep 2026 17: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 16:45:00 +0000

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

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

Type Values Removed Values Added
Description An incorrect numeric type conversion in the BSON document building component of the MongoDB C++ Driver may cause a length value to be interpreted incorrectly. When an application supplies an extremely large, non-terminated field name to the builder, the library may read memory outside the intended buffer and terminate the calling process. No authentication is required, but the calling application must pass the oversized name in a specific form.
Title BSON element injection via NUL-embedded document keys in builder append
Weaknesses CWE-681
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 5.9, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Mongodb C++ Driver
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-09-03T15:38:58.400Z

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

Link: CVE-2026-84966

cve-icon Vulnrichment

Updated: 2026-09-03T15:38:55.196Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-03T16:18:25.563

Modified: 2026-09-03T16:25:43.557

Link: CVE-2026-84966

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-681

    Incorrect Conversion between Numeric Types