CVE-2026-84966
Awaiting Analysis Awaiting Analysis - Queue

Incorrect Numeric Conversion Leads to Buffer Overflow in MongoDB C++ Driver

Vulnerability report for CVE-2026-84966, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-03

Last updated on: 2026-09-03

Assigner: MongoDB, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-03
Last Modified
2026-09-03
Generated
2026-09-03
AI Q&A
2026-09-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
mongodb mongodb_c++_driver *
mongodb mongodb_c%2b%2b_driver *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-681 When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves an incorrect numeric type conversion in the BSON document building component of the MongoDB C++ Driver. When an extremely large, non-terminated field name is supplied 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.

Detection Guidance

This vulnerability requires an application to pass an extremely large, non-terminated field name to the MongoDB C++ Driver's BSON document builder. Detection would involve monitoring for applications attempting to use such field names or unusual memory access patterns in the driver. No specific commands are provided in the context.

Impact Analysis

This vulnerability could cause the application to crash by reading memory outside the intended buffer. It may lead to denial of service if the application terminates unexpectedly. The impact depends on how the MongoDB C++ Driver is used in the application.

Mitigation Strategies

Update the MongoDB C++ Driver to the latest patched version. Review applications using the driver to ensure they do not pass extremely large or malformed field names to the BSON builder. Apply input validation to prevent such field names from being processed.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-84966. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart