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 applicati...
Product
MongoDB C Driver vulnerabilities
51 published CVES affecting MongoDB C Driver, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 51
- Critical
- 1
- High
- 18
- Medium
- 30
- Low
- 2
- Unscored
- 0
- CISA KEV
- 0
Latest MongoDB C Driver CVEs
Newest publication first · page 1 of 3
-
HighCVSS 7.7
-
LowCVSS 2.3
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 supp...
-
MediumCVSS 6.3 EPSS 0.23%
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 parse...
-
HighCVSS 8.7 EPSS 0.36%
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...
-
HighCVSS 7.1 EPSS 0.25%
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...
-
MediumCVSS 6.0 EPSS 0.32%
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 conditio...
-
HighCVSS 8.7 EPSS 0.39%
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, unbounde...
-
MediumCVSS 6.9 EPSS 0.35%
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...
-
HighCVSS 7.1 EPSS 0.21%
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...
-
CVE-2026-114652 Update operator injection via single-element list rewriting in the update builder
PublishedHighCVSS 7.1 EPSS 0.30%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 value...
-
CVE-2026-114651 Cross-document data leak via malformed BSON array parsing in reused thread buffer
PublishedMediumCVSS 6.3 EPSS 0.39%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 app...
-
MediumCVSS 6.9 EPSS 0.11%
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...
-
HighCVSS 7.6 EPSS 0.20%
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...
-
HighCVSS 7.2 EPSS 0.32%
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 redir...
-
CVE-2026-114647 NoSQL operator injection via unvalidated replacement document in findOneAndReplace
PublishedMediumCVSS 5.3 EPSS 0.31%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 opera...
-
MediumCVSS 6.9 EPSS 0.26%
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 tha...
-
MediumCVSS 5.7 EPSS 0.17%
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 cl...
-
HighCVSS 8.2 EPSS 0.48%
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 p...
-
MediumCVSS 5.3 EPSS 0.43%
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 fi...
-
CVE-2026-106438 Silent Decimal128 value corruption via incorrect exactness check in MongoDB C Driver
PublishedMediumCVSS 5.1 EPSS 0.14%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 embed...
-
MediumCVSS 5.9 EPSS 0.13%
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 leng...
-
CVE-2026-106431 One-byte heap buffer overflow in BSON bulk document writer in MongoDB C Driver
PublishedMediumCVSS 5.9 EPSS 0.10%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...
-
MediumCVSS 6.3 EPSS 0.27%
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...
-
CVE-2026-96746 Heap buffer overflow via mid-scan command list growth in client topology monitoring
PublishedHighCVSS 8.3 EPSS 0.52%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 appl...
-
MediumCVSS 6.9 EPSS 0.40%
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 (...
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.