p PatchFirst

PatchFirst · Latest vulnerabilities

mongo-c-driver vulnerabilities

Vulnerabilities published for mongo-c-driver in the last 30 days: 5. Listed in the KEV catalogue: 0.

RSS ↗
Filter vulnerabilities
Clear filters

Vulnerabilities: 26

  1. CVE-2026-106438

    Medium · CVSS 5.1EPSS 0.11%No fix published

    Silent Decimal128 value corruption via incorrect exactness check in MongoDB C Driver

    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.

    Published Updated
  2. CVE-2026-106437

    Medium · CVSS 5.9EPSS 0.1%No fix published

    Out-of-bounds read and write via undersized BSON buffer reservation in MongoDB C Driver

    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.

    Published Updated
  3. CVE-2026-106431

    Medium · CVSS 5.9EPSS 0.1%No fix published

    One-byte heap buffer overflow in BSON bulk document writer in MongoDB C Driver

    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.

    Published Updated
  4. CVE-2026-106428

    Medium · CVSS 6.3EPSS 0.24%No fix published

    Out-of-bounds read in SCRAM response parsing in MongoDB C Driver

    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.

    Published Updated
  5. CVE-2026-96746

    High · CVSS 8.3EPSS 0.37%No fix published

    Heap buffer overflow via mid-scan command list growth in client topology monitoring

    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.

    Published Updated
  6. CVE-2026-93395

    Medium · CVSS 6.9EPSS 0.4%No fix published

    Integer Underflow → Heap Out-of-Bounds Read in `bson_new_from_buffer()

    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 se

    Published Updated
  7. CVE-2026-93394

    Medium · CVSS 6.3EPSS 0.32%No fix published

    libmongoc SCRAM client nonce-validation bypass

    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.

    Published Updated
  8. CVE-2026-93393

    Critical · CVSS 9.2EPSS 0.47%No fix published

    Heap overflow via oversized decrypted TLS record sequence in Windows Secure Channel stream

    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.

    Published Updated
  9. CVE-2026-88036

    Medium · CVSS 6.1EPSS 0.27%No fix published

    GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB C Driver

    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.

    Published Updated
  10. CVE-2026-88035

    Medium · CVSS 5.7EPSS 0.1%No fix published

    Heap buffer overflow via wrapped size check during SASL username canonicalization in MongoDB C Driver

    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.

    Published Updated
  11. CVE-2026-84963

    Medium · CVSS 6.3EPSS 0.31%No fix published

    Silent field truncation via unchecked int cast of huge JSON string values in JSON-to-BSON parser

    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.

    Published Updated
  12. CVE-2026-84964

    High · CVSS 8.2EPSS 0.26%No fix published

    Heap corruption via OCSP request double free from crafted multi-URL certificate in TLS client

    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.

    Published Updated
  13. CVE-2026-84965

    Medium · CVSS 5.9EPSS 0.12%No fix published

    Heap write primitive via size round-up wrap during JSON parsing on 32-bit builds

    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.

    Published Updated
  14. CVE-2026-81524

    Medium · CVSS 5.3EPSS 0.27%No fix published

    Cross-tenant database retargeting via dot/NUL injection in namespace strings in the C Driver

    A weakness in the MongoDB C Driver allows special elements in caller-supplied database and collection name components to pass without sanitization when the driver composes the target namespace for an operation. An application that incorporates untrusted input into these name components can have operations directed at a resource other than the one intended.

    Published Updated
  15. CVE-2026-9100

    Medium · CVSS 6EPSS 0.3%Fix available

    Heap memory out of bounds read and crash in C Driver legacy GridFS file reader

    The MongoDB C Driver's legacy GridFS API accepts malformed file metadata from the database without adequate validation. Crafted documents in a GridFS collection may cause any application that reads those files via the legacy API to either crash (via a division-by-zero) or silently leak process memory contents (via an out-of-bounds read).

    • Update to 1.23.1-1+deb12u3
    Published Updated
  16. CVE-2026-6691

    High · CVSS 8.6EPSS 0.18%Fix available

    MongoDB C Driver Cyrus SASL Canonicalization Buffer Overflow

    The MongoDB C Driver's Cyrus SASL integration performs unsafe string copying during username canonicalization, enabling a heap buffer overflow before any authentication or network traffic. This may be triggered by passing untrusted input in the username of a MongoDB URI with authMechanism=GSSAPI.

    • Update to 1.23.1-1+deb12u3
    Published Updated
  17. CVE-2026-6231

    Medium · CVSS 5.3EPSS 0.32%Fix available

    bson_validate may skip validation when processing certain inputs

    The bson_validate function may return early on specific inputs and incorrectly report success. This behavior could result in skipping validation for BSON data, allowing malformed or invalid UTF-8 sequences to bypass validation and be processed incorrectly. The issue may affect applications that rely on these functions to validate untrusted BSON data before further processing. This issue affects MongoDB C Driver versions prior to 1.30.5, MongoDB C Driver version 2.0.0 and MongoDB C Driver version 2.0.1

    • Update to 1.23.1-1+deb12u3
    Published Updated
  18. CVE-2026-4359

    Low · CVSS 2EPSS 0.25%Fix available

    Heap-buffer-over-read in _mongoc_http_send via strstr on non-null-terminated buffer

    A compromised third party cloud server or man-in-the-middle attacker could send a malformed HTTP response and cause a crash in applications using the MongoDB C driver.

    • Update to 1.23.1-1+deb12u3
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →