MongoDB C Driver
Don't miss out!
Thousands of developers use stack.watch to stay informed.Get an email whenever new security vulnerabilities are reported in MongoDB C Driver.
By the Year
In 2026 there have been 65 vulnerabilities in MongoDB C Driver with an average score of 6.7 out of ten. Last year, in 2025 C Driver had 3 security vulnerabilities published. That is, 62 more vulnerabilities have already been reported in 2026 as compared to last year. Last year, the average CVE base score was greater by 0.80
| Year | Vulnerabilities | Average Score |
|---|---|---|
| 2026 | 65 | 6.66 |
| 2025 | 3 | 7.47 |
| 2024 | 1 | 7.50 |
| 2023 | 2 | 7.35 |
| 2022 | 0 | 0.00 |
| 2021 | 1 | 4.20 |
| 2020 | 1 | 0.00 |
It may take a day or so for new C Driver vulnerabilities to show up in the stats or in the list of recent security vulnerabilities. Additionally vulnerabilities may be tagged under a different product or component name.
Recent MongoDB C Driver Security Vulnerabilities
MongoDB C# Driver Info Disclosure via Improper Error Redaction
CVE-2026-129936
5.7 - Medium
- November 19, 2026
A MongoDB C# Driver component that interprets connection configuration supplied by the hosting application can include the caller-supplied configuration value in the text of the error it raises when that value cannot be interpreted. The redaction applied to that text does not cover all forms in which secret material may appear, so authentication material embedded in the configuration value can be preserved in the resulting error text and in anything that records it. Exploitation requires only the low privilege needed to observe the application's own error output or logs on the system where the driver runs; no database credentials or server connectivity are required. The result is disclosure of sensitive information to parties whose access to error output is broader than their intended access to the configuration secret.
Generation of Error Message Containing Sensitive Information
MongoDB C# Driver DNS SRV Injection via DNS Spoofing
CVE-2026-129938
9.1 - Critical
- November 19, 2026
An improper neutralization of delimiters in the MongoDB C# driver's DNS SRV connection-string resolution lets an unauthenticated party who can answer the client's DNS SRV query place a host outside the trusted domain into the client's server list. When an application resolves the connection string through the affected API and connects with the result, application data, authentication credentials and query results may pass through that host. This may result in unintended disclosure of data and credentials and in forged query results.
Argument Injection
MongoDB C# Driver SASL PLAIN NUL Byte Injection
CVE-2026-129937
6.3 - Medium
- November 19, 2026
The MongoDB C# Driver does not neutralize NUL characters in the user name and password values it places into the message it builds for SASL PLAIN authentication. A party who can choose the login values that an application passes to the driver can alter where the fields of that message begin and end. This may result in a receiving system reading a login name and secret that differ from the values the application supplied. Authenticating as a different account still requires that account's password. Only deployments that use SASL PLAIN authentication are affected.
Improper Neutralization of Null Byte or NUL Character
MongoDB C Driver info disclosure via unredacted connection string
CVE-2026-129939
6.8 - Medium
- November 19, 2026
The MongoDB C Driver places a submitted connection-string option value into a diagnostic message without redaction when that option fails validation. The message is returned to the calling application and is also written to the process's standard error by the driver's default logging behavior. A party that can influence the connection string given to an application using the driver may cause that field's contents to be recorded, which may result in unintended disclosure of information the application placed in that field.
Generation of Error Message Containing Sensitive Information
MongoDB C# Driver BSON allowlist bypass leading to RCE
CVE-2026-126982
7.7 - High
- November 13, 2026
A type allow-list bypass in the BSON serialization library of the MongoDB C# Driver allows a type-restriction check to be circumvented when polymorphic data is deserialized into loosely typed members. An unauthorized party who can supply or plant BSON/JSON data that the application later deserializes can cause the application process to instantiate .NET types outside the intended allow-list and populate them with unauthorized party-controlled values. In applications that contain a suitable gadget type, this can lead to arbitrary code execution in the context of the application, with corresponding loss of confidentiality, integrity, and availability. No special privileges beyond the ability to introduce data the application reads are required.
Marshaling, Unmarshaling
MongoDB BSON Deserialization Type-Restriction Bypass (CVE-2026-126839)
CVE-2026-126839
2.3 - Low
- November 12, 2026
A deserialization type-restriction control in the BSON serialization component can be bypassed because the check used to recognize a class of compiler-generated types relies on an overly permissive heuristic rather than a precise identification. An unauthorized party able to supply BSON content that an application later deserializes into a loosely typed member can cause types outside the intended allow-list to be constructed and populated with unauthorized party-supplied values inside the consuming application. This can lead to unexpected object state and errors in downstream application logic. No elevated privileges beyond the ability to place unauthorized party-influenced content in the deserialization path are required.
Marshaling, Unmarshaling
MongoDB Java JDBC Driver DLL Hijack via Shared Temp
CVE-2026-126823
7.3 - High
- November 12, 2026
A local user with an ordinary account on the same host can place a file in a shared temporary location that the JDBC driver's native library loading routine will accept and load without verifying its origin. Loading the driver class in a Java application may then run code of that user's choosing inside the application process, which may result in disclosure or alteration of data held by that process or in the process becoming unavailable.
Insecure Temporary File
OOB Write in MongoDB Atlas SQL ODBC Driver
CVE-2026-120952
6 - Medium
- November 03, 2026
An out-of-bounds write in the MongoDB Atlas SQL ODBC Driver may be triggered when a value of a particular database type is retrieved into a fixed-width client-side target. The driver produces a textual form of the value that is longer than the fixed target the ODBC interface defines, and copies it without limiting the copy to the target's real size. A database user with basic write privileges can influence part of the data written outside the target, which may corrupt memory in the application using the driver and cause that application to terminate unexpectedly.
Memory Corruption
Atlas SQL JDBC Driver URI Redirect Vulnerability (CVE-2026-120953)
CVE-2026-120953
5.1 - Medium
- November 03, 2026
A URI redirection weakness exists in the authentication component of the Atlas SQL JDBC Driver. During an interactive sign-in flow the driver accepts endpoint addresses supplied by the remote endpoint it is pointed at without validating their scheme, and passes the resulting address to the local default protocol handler. An unauthenticated remote party that controls the endpoint a user elects to connect to may cause an address of its choosing to be opened on the user's system; user interaction is required.
Open Redirect
BSON Library Arithmetic Wraparound in Element Count (Data Integrity)
CVE-2026-120954
6.3 - Medium
- November 03, 2026
A weakness in the BSON library's handling of a specialized binary vector data type allows an arithmetic wraparound when computing the number of elements described by an oversized attacker-supplied value. On builds where the platform word size is 32 bits, an application that parses untrusted BSON data can be made to process only a small fraction of the supplied elements while the operation reports success, producing results that disagree with byte-oriented accessors and with 64-bit builds of the same library. No authentication or user interaction is required beyond getting the application to parse the data. The impact is limited to data integrity; memory safety is not affected and no information is disclosed.
Integer Overflow or Wraparound
MongoDB C Driver GridFS API Crash via Unchecked Operation Result (DoS)
CVE-2026-120955
8.7 - High
- November 03, 2026
The GridFS file download API in the MongoDB C Driver does not check the result of an internal operation under certain error conditions during file retrieval. This can cause the process to terminate when stream operations continue. A user who can influence file download parameters can trigger this condition, which may result in service unavailability for applications using the affected API.
NULL Pointer Dereference
MongoDB C Driver Namespace Field Bypass: Crash & Memory Disclosure
CVE-2026-120956
7.1 - High
- November 03, 2026
The MongoDB C Driver does not validate the type or format of a namespace field returned by the server in a query response. A MongoDB endpoint that a client application connects to, without needing any credentials, can return a malformed value in that field. This causes the client application process to terminate, and can also cause the driver to read memory outside an allocated buffer and to send a small amount of the application's own uninitialized heap memory back to the endpoint in a follow-up command. The impact is limited to the process that embeds the driver.
assertion failure
MongoDB C Driver GridFS Uninitialized Memory Disclosure
CVE-2026-120684
6 - Medium
- November 03, 2026
A memory-initialization flaw in the legacy GridFS file handling of the MongoDB C Driver can cause uninitialized process memory to be treated as valid file content and stored on the server. A database user holding ordinary write access to a shared storage area can arrange conditions under which an application later appends to such a file and writes that memory into records the same user is permitted to read, which may result in unintended disclosure of sensitive information from the application's process, including credentials.
Use of Uninitialized Resource
Unbounded mem growth via MongoDB C Driver compressed responses CVE-2026-120678
CVE-2026-120678
8.7 - High
- November 03, 2026
A memory management flaw in the MongoDB C Driver's handling of compressed responses may cause the client library to hold on to memory that is never released. An unauthenticated party that controls the database endpoint a client application connects to may cause repeated, unbounded memory growth in that application, which may result in the application becoming unavailable. No credentials, transport security settings, or user interaction are required.
Memory Leak
MongoDB C# Driver BSON numeric conversion OOB subtype bypass
CVE-2026-114654
6.9 - Medium
- October 22, 2026
A numeric-type conversion flaw in the BSON handling library of the MongoDB C# Driver allows an out-of-range binary subtype value supplied through untrusted textual input to bypass the library's binary-element integrity checks. When such a value is later encoded, it is narrowed to a smaller wire representation, producing binary elements that misdeclare their type or length. An unauthenticated party able to supply text parsed by an affected application can cause it to emit and persist malformed binary data, which subsequent readers either reject with an error or silently interpret as shorter than the data that was validated.
Incorrect Conversion between Numeric Types
MongoDB C# Driver ClientSide FLE Encryption Bypass
CVE-2026-114653
7.1 - High
- October 22, 2026
A client-side encryption schema construction component in the MongoDB C# Driver places caller-supplied field identifiers into a position that is interpreted as a pattern expression, without normalizing or validating them. As a result, an application that designates certain fields for client-side field-level encryption may have the protection silently fail to apply, so data intended to be encrypted is stored and returned in cleartext; conversely, the rule may apply more broadly than intended. No user action is required to cause the condition, and any party with ordinary read access to the stored data without possession of the encryption keys can observe the unprotected values.
Incorrect Regular Expression
MongoDB C# Driver Update Builder Logic Neutralization
CVE-2026-114652
7.1 - High
- October 22, 2026
A data-query-logic neutralization weakness in the update-statement construction component of the MongoDB C# Driver can cause application-supplied values to be interpreted as query/update logic rather than as literal data. An application user who can influence the content of values that the application passes into the affected builder surface, without any special privilege beyond ordinary read-write application access, may cause stored data to be modified or removed in ways the application never intended. The result is unauthorized integrity impact on the affected application data; there is no direct loss of confidentiality or availability of the database service.
Improper Neutralization of Special Elements in Data Query Logic
MongoDB C# Driver BSON Deserialization Residual Data Leak (CVE2026114651)
CVE-2026-114651
6.3 - Medium
- October 22, 2026
A memory-handling weakness in the BSON deserialization component of the MongoDB C# Driver may cause data left over from previously processed content to be returned when specially crafted serialized input is parsed. An unauthenticated party able to supply serialized data to an application that maps certain primitive collection types can cause residual bytes from unrelated data processed earlier on the same execution thread to be surfaced as legitimate values. This can result in disclosure of a limited amount of information belonging to other requests or principals of the consuming application. No authentication or special privileges within the application are required.
Use of Uninitialized Resource
MongoDB .NET/C# Driver Clientside FLE Encryption Bypass
CVE-2026-114650
6.9 - Medium
- October 22, 2026
A flaw in the client-side encryption support of the MongoDB .NET/C# driver can cause data designated for client-side field-level encryption to be written without encryption. Under certain platform text-encoding configurations, an internal name conversion loses information, so the encryption layer fails to associate the operation with its configured encryption rules and the operation proceeds without an error being raised. An application user with the ability to write data through an affected application can therefore have sensitive fields persisted in plaintext, defeating the confidentiality guarantee that client-side encryption is intended to provide. No integrity or availability impact was observed.
Inappropriate Encoding for Output Context
MongoDB C# Driver TLS Cert Cache Spoof Leads to Impersonation
CVE-2026-114649
7.6 - High
- October 22, 2026
The MongoDB C# Driver compares TLS client certificates by issuer and serial number only when deciding whether two clients can share cached connections. In an application that creates clients from certificates supplied by different users, a user who provides a certificate copying another user's issuer and serial number, without that user's private key, can be given connections authenticated with the other user's certificate. Database operations can then run under the other user's identity, affecting the confidentiality and integrity of data that identity can access.
Comparison Using Wrong Factors
Improper Input Validation in MongoDB C# Driver Allows Query Redirection
CVE-2026-114648
7.2 - High
- October 22, 2026
The MongoDB C# Driver does not neutralize dot and dollar characters in dictionary keys, field names and array-filter identifiers used in LINQ queries before placing them into the field paths it sends to the server. An application user whose input reaches these positions can redirect a query or update to fields the application did not name, which can expose other users' documents and widen updates beyond the intended data. Certain values can also write malformed fields that leave stored documents unreadable by the application until they are repaired.
Improper Neutralization of Special Elements in Data Query Logic
MongoDB C# Driver Allows $-prefixed fields in FindOneAndReplace
CVE-2026-114647
5.3 - Medium
- October 22, 2026
The MongoDB C# Driver does not reject replacement documents whose top-level field names begin with a dollar sign in FindOneAndReplace, unlike other replace operations. An application that builds such a document from user-supplied field names can have the server apply update operators instead of a full replacement. The effect is limited to the document matched by the application's own filter, whose contents can be modified in ways the application did not intend.
Improper Neutralization of Special Elements in Data Query Logic
MongoDB C# Driver BSON Deserialization Validation Bypass (CVE-2026-114646)
CVE-2026-114646
6.9 - Medium
- October 22, 2026
A data-validation flaw exists in the BSON handling and binary serialization path of the MongoDB C# Driver. When an application constructs a raw or lazy BSON document object from externally supplied binary data, the driver does not verify that the size quantity declared inside that data matches the amount of data actually provided, and it copies the data onto the wire unchanged. An unauthenticated party who can supply binary content to such an application can thereby cause additional elements to be inserted into, or existing elements to be removed from, the database command the application issues, without needing any database credentials of their own. This can result in unauthorized modification of stored data and disclosure of data outside the intended scope of the application's request, bounded by the database privileges the application itself holds.
length manipulation
MongoDB C Driver Windows Kerberos SSPI Integer Wraparound Heap Overflow
CVE-2026-114645
5.7 - Medium
- October 22, 2026
A 32-bit integer wraparound in the MongoDB C Driver's Windows-only Kerberos/SSPI authentication code can cause an undersized heap buffer to be allocated when an excessively long credential value is supplied in the client's connection configuration. A party able to control that client-side configuration, in conjunction with the affected authentication mechanism, can cause the driver to write outside the bounds of the allocated buffer. This may result in corruption of client process memory and denial of service of the client application. The issue affects only client builds compiled with the Windows-native authentication backend.
Integer Overflow or Wraparound
MongoDB C# Driver BSON Deserialization DoS
CVE-2026-114644
8.2 - High
- October 22, 2026
The MongoDB C# Driver's BSON library contains an uncontrolled resource consumption weakness in its deserialization handling of one BSON value type. An application that deserializes untrusted content with the library retains data derived from that content for the lifetime of the process, with no limit on how much accumulates. An unauthenticated remote party who can cause such content to be deserialized can drive unbounded memory growth, exhausting the host application's available memory and denying service. There is no impact to confidentiality or integrity, and no MongoDB server component is affected.
Allocation of Resources Without Limits or Throttling
MongoDB C# Driver GeoJSON Member Collision Vulnerability
CVE-2026-114643
5.3 - Medium
- October 22, 2026
The MongoDB C# Driver writes GeoJSON extra members without checking whether their names collide with reserved GeoJSON members such as type and coordinates. An application that places user-supplied field names into these extra members can store documents with duplicate geometry fields, so the server and the driver resolve different values for the same record. Affected records can also become unreadable through the driver, interrupting application code that reads them.
Use of Multiple Resources with Duplicate Identifier
MongoDB C++ Driver NUL Byte Truncation Leads to Name Misinterpretation
CVE-2026-106430
6 - Medium
- October 08, 2026
The MongoDB C++ Driver discards content after an embedded NUL byte in certain field and collection names accepted by the collection API. This can cause the driver and the calling application to interpret the same name differently. An authenticated actor who can influence a name passed by an affected application can cause the application to read distinct values from an unintended field or rename an unintended collection. These operations use the application's existing database credentials.
Interpretation Conflict
MongoDB C Driver Decimal128 Parsing Precision Error (CVE-2026-106438)
CVE-2026-106438
5.1 - Medium
- October 08, 2026
An incorrect calculation in Decimal128 string parsing in the MongoDB C Driver can accept certain over-precision inputs containing leading zeros instead of rejecting them. This produces a value different from the supplied text. An actor who can provide a decimal string to an embedding application, including through Extended JSON parsing, can cause the application to store or use an incorrect numeric value.
Incorrect Calculation
MongoDB C Driver BSON Buffer Underflow OOB Read/Write
CVE-2026-106437
5.9 - Medium
- October 08, 2026
The BSON buffer-reservation API in the MongoDB C Driver can record a length smaller than the five-byte BSON minimum. Later append or comparison operations can underflow unsigned length calculations and read or write outside the document buffer. An actor who can influence the length supplied by an embedding application can cause the application to terminate or read or corrupt adjacent process memory. Reaching this issue requires the application to pass an undersized value to bson_reserve_buffer and then perform an affected operation.
Integer underflow
CVE-2026-106431: MongoDB C Driver BSON bulk writer off-by-one OOB write
CVE-2026-106431
5.9 - Medium
- October 08, 2026
An off-by-one error in the BSON bulk document writer in the MongoDB C Driver can write one zero byte immediately past a heap allocation when a document ends at a specific buffer boundary. An actor who can influence the size of documents serialized by an embedding application can corrupt adjacent process memory or terminate the process. Reaching this issue requires the application to use the BSON bulk-writer API and produce a precise cumulative document size.
Memory Corruption
Out-of-Bounds Read in MongoDB C Driver SCRAM Auth Parsing
CVE-2026-106428
6.3 - Medium
- October 08, 2026
An out-of-bounds read in SCRAM authentication response parsing in the MongoDB C Driver can read one byte beyond a fixed-size buffer when processing a malformed server-final message. A server or network intermediary able to provide this message before server-signature verification can cause the application using the driver to terminate. The extra byte is not returned through the protocol.
Out-of-bounds Read
Out-of-Bounds Write in MongoDB C Driver Connection-Monitoring
CVE-2026-96746
8.3 - High
- September 24, 2026
An out-of-bounds write in the connection-monitoring logic of the MongoDB C Driver may allow an unauthenticated party who controls name resolution and the responses of the hosts named in a client's connection string to write beyond the end of a heap buffer. This may cause the application using the driver to terminate unexpectedly.
Memory Corruption
libbson Integer Underflow in bson_new_from_buffer Allows DOS via Crafted BSON
CVE-2026-93395
6.9 - Medium
- September 17, 2026
A missing lower-bound validation in the bson_new_from_buffer() function of libbson allows an integer underflow when processing BSON data with a zero-length prefix. The function reads a 32-bit document length from the input buffer but does not verify that the value is at least 5 (the minimum valid BSON document size) before using it in an array index calculation. When the length field is zero, the expression used to check the document's null terminator wraps to UINT32_MAX, causing a heap out-of-bounds read that crashes the process. An unauthorized party who can supply crafted BSON input to an application using this API can cause a denial of service.
Integer underflow
SCRAM Nonce Mismatch in libmongoc Lets MITM Capture Client Proof
CVE-2026-93394
6.3 - Medium
- September 17, 2026
A flaw in libmongoc's SCRAM authentication implementation caused the client to continue the authentication handshake and transmit the client proof even when a nonce mismatch was detected in the server's first message. An unauthorized party with a man-in-the-middle position could exploit this by injecting a crafted server-first-message containing a controlled salt and low iteration count, then capturing the resulting client proof to perform offline password cracking. This vulnerability is mitigated by TLS, which is standard in production deployments.
Incorrect Implementation of Authentication Algorithm
MongoDB C Driver: Heap Buffer Overflow in TLS Layer (CVE-2026-93393)
CVE-2026-93393
9.2 - Critical
- September 17, 2026
A heap-based buffer overflow exists in the TLS transport layer of the MongoDB C Driver when built with the Windows platform TLS backend. A remote endpoint that the client connects to can cause the driver to write uncontrolled data outside the bounds of a heap allocation while processing incoming encrypted traffic after the TLS handshake completes. No authentication or user interaction is required, because the affected processing occurs before any application-level authentication completes. Triggering this issue may lead to memory corruption in the client process, disclosure of adjacent heap memory, or termination of the process.
Memory Corruption
CVE-2026-88036: MongoDB C Driver GridFS Injection
CVE-2026-88036
6.1 - Medium
- September 10, 2026
Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB C Driver can cause a caller-supplied structured file identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence the identifier passed by an affected application may obtain stored file content beyond the intended target or cause all GridFS file chunks in the affected bucket to be removed, rendering stored file content unreadable.
Improper Neutralization of Special Elements in Data Query Logic
MongoDB C Driver OOB Write via SASL Auth Username Wraparound
CVE-2026-88035
5.7 - Medium
- September 10, 2026
A size check in the client-side authentication path of the MongoDB C Driver can wrap around, so an unusually large user-name value is accepted and copied past the end of a small buffer. A party able to set the driver's connection settings may cause the application that embeds the driver to terminate unexpectedly. Reaching this code requires a build in which the optional external SASL authentication backend is present and a connection configured to use it.
Integer Overflow or Wraparound
MongoDB C++ Driver GridFS Query Injection Vulnerability
CVE-2026-88034
6.1 - Medium
- September 10, 2026
Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB C++ Driver can cause a caller-supplied structured file identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence the identifier passed by an affected application may obtain stored file content beyond the intended target or cause all GridFS file chunks in the affected bucket to be removed, rendering stored file content unreadable.
Improper Neutralization of Special Elements in Data Query Logic
MongoDB C# Driver Regex Injection via LINQ Query Translation
CVE-2026-88026
7.1 - High
- September 10, 2026
Improper neutralization of regular-expression metacharacters in the LINQ query translation component of the MongoDB C# Driver can cause a caller-supplied character sequence to alter a regular-expression predicate generated by an affected application. An authenticated user who can influence such a value may cause the application to return records beyond those intended by the original filter.
Improper Neutralization of Special Elements in Data Query Logic
MongoDB C# Driver GridFS Query Injection via Improper Identifier Neutralization
CVE-2026-88025
6.1 - Medium
- September 10, 2026
Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB C# Driver can cause a caller-supplied structured file identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence the identifier passed by an affected application may obtain stored file content beyond the intended target or cause all GridFS file chunks in the affected bucket to be removed, rendering stored file content unreadable. The affected rename operation may also rename a stored file other than the intended target.
Improper Neutralization of Special Elements in Data Query Logic
MongoDB C Driver BSON JSON Parsing Numeric Conversion Error
CVE-2026-84963
6.3 - Medium
- September 03, 2026
An incorrect numeric conversion in the JSON parsing component of the MongoDB C Driver's BSON library may cause an unusually large text value to be silently shortened, or the corresponding field to be omitted, while the parsing operation still reports success and returns no error. An unauthenticated party who can supply the input processed by an application that uses this component may cause that application to hold data that does not match what was submitted, which may result in unintended alteration of data.
Incorrect Conversion between Numeric Types
Double Free in OpenSSL TLS Cert Rev Path of MongoDB C Driver
CVE-2026-84964
8.2 - High
- September 03, 2026
A double free in the OpenSSL-based TLS certificate revocation checking path of the MongoDB C Driver can be reached by a TLS endpoint that the client already trusts. During the handshake, specially formed certificate data can cause the same heap object to be released twice. An unauthenticated party acting as the trusted endpoint may cause the connecting client application to terminate unexpectedly.
Double-free
BSON Integer Wraparound Enables Unauth DOS via Large JSON
CVE-2026-84965
5.9 - Medium
- September 03, 2026
An integer wraparound in an allocation size calculation in the BSON library's JSON parsing code can cause a buffer to be released while a following copy operation still writes through the stale pointer. On builds where sizes are 32 bits, an unauthenticated party able to supply a sufficiently large JSON input to an application that links the library may cause that application to terminate unexpectedly, resulting in denial of service.
Integer Overflow or Wraparound
MongoDB C++ Driver: BSON Length Conv Bug Causing Crash
CVE-2026-84966
5.9 - Medium
- September 03, 2026
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.
Incorrect Conversion between Numeric Types
MongoDB C Driver OOB Write in BSONJSON Binary Conversion
CVE-2026-84969
6.3 - Medium
- September 03, 2026
A memory-handling error in the BSON-to-JSON conversion helpers of the MongoDB C Driver can write a small number of bytes past the end of a heap buffer when a binary field is encoded and the output is cut short at a caller-configured length limit. A party who supplies the document content, with no privileges on the application that links the driver, may cause a small amount of data outside the intended buffer to be altered.
Memory Corruption
MongoDB C++ Driver BSON JSON Parse Truncation & Overread
CVE-2026-84970
5.9 - Medium
- September 03, 2026
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.
Incorrect Conversion between Numeric Types
Memory-safety Bypass via Long LIMIT Digits in MongoDB BI Connector
CVE-2026-81533
6 - Medium
- August 28, 2026
An application using the MongoDB BI Connector ODBC Driver may encounter a memory-safety issue when a submitted SQL statement contains an unusually long run of digits following a LIMIT clause. The issue occurs only on connections where the driver's optional prefetch setting is enabled, and stems from the driver copying the digit sequence into a fixed-size internal buffer without checking its length. A user able to influence the numeric portion of a LIMIT clause could cause the hosting application process to terminate unexpectedly or corrupt adjacent memory in that process.
Stack Overflow
MongoDB ODBC Connector DB Overwrite CVE-2026-81532
CVE-2026-81532
8.7 - High
- August 28, 2026
A user able to submit SQL through an application using the MongoDB Connector for BI ODBC driver can supply a positioned-cursor statement whose cursor name exceeds the size of an internal fixed-length buffer. Because the name length is not bounded before the driver builds its diagnostic message, memory adjacent to that buffer is overwritten with user-supplied content. This can terminate the hosting application process and may allow unintended code to run within it.
Stack Overflow
MongoDB C# Driver Exposes Key Material in Diagnostics
CVE-2026-81530
6.8 - Medium
- August 27, 2026
A weakness in the client-side encryption configuration surface of the MongoDB C# Driver causes sensitive key-management credential material supplied by the application to be reproduced verbatim in the driver's human-readable diagnostic representation of its client settings, instead of being masked as other secret fields are. A party able to read the application's logs, diagnostic output, or a process memory dump may thereby recover the plaintext credentials and use them to decrypt protected field data.
Insertion of Sensitive Information into Log File
MongoDB C# Driver Connection-URL Delim Injection
CVE-2026-81529
7.1 - High
- August 27, 2026
Improper neutralization of delimiters in connection-URL construction allows connection-option injection in the MongoDB C# Driver. When an application passes untrusted text into the driver's connection-URL builder and round-trips the builder back into a client configuration, the untrusted text is serialized without neutralizing the URL/option delimiters and is then re-parsed as authoritative connection options. A low-privileged user of such an application can thereby introduce or suppress security-relevant connection settings.
Argument Injection
Stay on top of Security Vulnerabilities
Want an email whenever new vulnerabilities are published for MongoDB C Driver or by MongoDB? Click the Watch button to subscribe.