Mongodb, Inc. C Driver vulnerabilities
5 vulnerabilities
Known vulnerabilities in Mongodb, Inc. C Driver, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.
RoutineCVE-2026-93395mongodb inc. · c driver +3 moreInteger 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 service.CVSS6.9MediumEPSS0.24%RoutineCVE-2026-93394mongodb inc. · c driver +3 morelibmongoc SCRAM client nonce-validation bypassA 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.CVSS6.3MediumEPSS0.19%PrioritiseCVE-2026-93393mongodb inc. · c driver +4 moreHeap overflow via oversized decrypted TLS record sequence in Windows Secure Channel streamA 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.CVSS9.2CriticalEPSS0.29%RoutineCVE-2026-9100mongodb inc. · c driver +4 moreHeap memory out of bounds read and crash in C Driver legacy GridFS file readerThe 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).CVSS7.1HighEPSS0.31%RoutineCVE-2026-6231mongodb inc. · c driver +3 morebson_validate may skip validation when processing certain inputsThe 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.1CVSS7.5HighEPSS0.20%