Skip to main content

MongoDB C Driver EUVDEUVD-2026-82435

| CVE-2026-93393 CRITICAL
Out-of-bounds Write (CWE-787)
2026-09-17 mongodb GHSA-x65h-hw7w-mq6w
9.2
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain MITM position or host rogue endpoint
  2. Delivery
    Induce client TLS connection to attacker
  3. Exploit
    Send crafted encrypted traffic
  4. Execution
    Trigger heap buffer overflow in Windows TLS backend
  5. Impact
    Corrupt client memory, leak heap, or crash process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitable only when the MongoDB C Driver is built with the Windows platform (Secure Channel/SChannel) TLS backend - builds using OpenSSL or other backends are not affected per the description. The attacker must be the endpoint the client connects to, or be able to impersonate/MITM/redirect the client's connection; there is no way to trigger it against an idle client. The overflow occurs during processing of incoming encrypted TLS traffic before application-level authentication, so no credentials or user interaction are needed, but the requirement to control or intercept the connection (a positioning/MITM prerequisite, reflected in AC:H/AT:P) is the primary limiting factor, along with the Windows-TLS-backend build constraint and affected version ranges (C Driver 1.24.0-2.4.0 series per EUVD).

Impact

The headline CVSS 4.0 base score of 9.2 (critical) is real but must be read against its own vector: AV:N with PR:N/UI:N (pre-authentication, network-reachable) is offset by AC:H and AT:P, which encode the key limiting fact - this is a CLIENT-side flaw that only triggers when the MongoDB C Driver connects to an endpoint the attacker controls, or when the attacker can MITM/redirect the client's connection. It is not a mass-scannable server-side bug; there is no listening service an attacker can spray. No EPSS score is provided, there is no CISA KEV listing, and no public exploit code is referenced (only the vendor JIRA ticket CDRIVER-6417), so the current signal is: high theoretical impact (heap OOB write → RCE-class memory corruption, heap disclosure, or crash before auth) but no evidence of real-world exploitation and a non-trivial positioning requirement. Net priority: genuinely high for deployments where the C Driver on Windows connects across untrusted network paths or to endpoints of uncertain trust, but the AC:H/AT:P MITM-or-rogue-endpoint gate and Windows-TLS-backend-only scope place it below a wormable/mass-exploitable critical. Patch on a normal-to-expedited cadence; it is not a drop-everything emergency absent exploitation signals.

Exploit ScenarioDerived

An attacker stands up a rogue MongoDB-speaking endpoint (or gains an on-path/MITM position and redirects the client) so that a Windows-built application using the vulnerable MongoDB C Driver initiates a TLS handshake to it. During TLS transport processing of the attacker's incoming encrypted traffic - before any application-level authentication - the driver writes attacker-controlled data past a heap allocation, corrupting client memory, leaking adjacent heap contents, or crashing the process. No public exploit code has been identified; only the vendor tracking ticket (CDRIVER-6417) is referenced.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 17, 2026

Heap-based buffer overflow in the TLS transport layer of the MongoDB C Driver on Windows TLS-backend builds allows the endpoint a client connects to - or an attacker able to impersonate, redirect, or man-in-the-middle that connection - to write attacker-supplied data outside the bounds of a heap allocation while the driver processes incoming encrypted traffic, causing memory corruption, disclosure of adjacent heap memory, or termination of the client process. The flaw is reachable before any application-level authentication completes, so no credentials or user interaction are needed (CVSS PR:N/UI:N), and the vendor rates it 9.2 under CVSS 4.0; however, our assessed CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) reflects the real gating factors - this is a client-side defect that only fires when the driver connects to an attacker-controlled endpoint or when the attacker can intercept or redirect the connection (AC:H, AT:P), and only in builds compiled against the Windows platform TLS backend. All C Driver releases in the affected ranges (1.24.0 through the 2.4.0 series per ENISA EUVD) are in scope, tracked as CDRIVER-6417; no public exploit code was identified at time of analysis.

RemediationAI

No exact fixed version is specified in the available intelligence; the authoritative fix status and any patched release is tracked in the MongoDB issue https://jira.mongodb.org/browse/CDRIVER-6417, so the first step is to monitor that issue and EI (EUVD-2026-82435) and upgrade to the first release MongoDB marks as fixed for each affected branch (1.24.x, 1.25.x, 1.26.x, 1.27.x, 1.28.x, 1.29.x, 1.30.x, 2.0.x-2.4.x). Where an upgrade is not immediately possible, the single most effective compensating control is to rebuild or redeploy the driver against the OpenSSL TLS backend instead of the Windows platform (SChannel) backend, since the vulnerability is confined to the Windows-backend code path - the trade-off is losing native integration with the Windows certificate store, SChannel-specific cipher/FIPS behavior, and any SChannel-only configuration, so validate cipher suites, certificate validation, and enterprise CA trust before switching in production. Reducing the attack surface that the positional prerequisite depends on also helps: pin the driver to expected server certificates or CA bundles and disable fallback to untrusted hosts so a MITM or redirect fails certificate validation (trade-off: pinning breaks on legitimate certificate rotation and must be maintained), restrict outbound connections to known MongoDB endpoints via egress firewall or proxy allow-lists, and avoid connecting over untrusted networks - with the caveat that none of these remove the risk if a legitimate endpoint is itself compromised or misconfigured, because the flaw triggers before application authentication. Finally, treat client processes using the Windows TLS backend as crash-sensitive: enable OS-level exploit mitigations and monitor for abnormal client terminations or memory-related crashes as a detection signal, while recognizing these are detective, not preventive, measures.

Affected VersionsENISA

C Driver 1.24.0 ≤1.24.4
C Driver 2.3.0 ≤2.3.3
C Driver 1.25.0 ≤1.25.4
C Driver 1.26.0 ≤1.26.2
C Driver 1.28.0 ≤1.28.1
C Driver 2.2.0 ≤2.2.4
C Driver 2.0.0 ≤2.0.2
C Driver 1.29.0 ≤1.29.2
C Driver 2.1.0 ≤2.1.2
C Driver 1.30.0 ≤1.30.8
C Driver 1.27.0 ≤1.27.6
C Driver 2.4.0

Affected Packages

euvd c_driver no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is an out-of-bounds write (CWE-787) in the TLS transport layer of the MongoDB C Driver, i.e. the code path that wraps TCP sockets in TLS and decrypts/frames inbound records before the MongoDB wire protocol or any SCRAM/authentication handshake is processed. During handling of incoming encrypted traffic, attacker-influenced data from the TLS stream can result in a write past the end of a heap-allocated buffer, which is the classic precondition for heap metadata corruption exploit chains (adjacent object overwrite, function-pointer or length-field corruption) as well as for direct disclosure of adjacent heap contents and for crash-based denial of service. The defect is specific to builds that use the Windows platform TLS backend (Secure Channel/SChannel); builds linked against OpenSSL or other backends are not affected per the description, which strongly suggests backend-specific buffer-sizing logic around the SChannel record/decryption path and the absence of a matching bounds check that OpenSSL-based paths have or that backend never exercises. The single CPE cpe:2.3:a:mongodb_inc.:c_driver:*:*:*:*:*:*:*:* confirms the affected component is the C Driver library itself rather than MongoDB server. The exploitation precondition is positional rather than credential-based: the attacker must be the server endpoint the client dials, or be able to MITM/DNS-redirect/ARP-spoof the client's connection, which is exactly what the independent assessment encodes as AC:H and AT:P - there is no way to trigger this against a client that is idle or talking only to a trusted, uncompromised endpoint. The pre-authentication nature (the write occurs during TLS record processing, before application authentication) is what keeps PR:N/UI:N valid, while the requirement to control the connection path is the dominant limiting factor on real-world risk.

Know when C Driver gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mongodb) PRIMARY 9.2 CRITICAL
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

Network vector but requires MITM/rogue-endpoint positioning (AC:H); pre-authentication processing gives PR:N/UI:N; heap OOB write yields full C/I/A with no scope change.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 8.1 CRITICAL

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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, or an attacker able to impersonate or redirect the client's connection, can cause the driver to write attacker-supplied data outside the bounds of a heap allocation while processing incoming encrypted traffic. No authentication or user interaction is required, because the affected processing occurs before any application-level authentication completes. Successful exploitation may lead to memory corruption in the client process, disclosure of adjacent heap memory, or termination of the process.

Executive ViewAI

Why It Matters

MongoDB C Driver on Windows TLS-backend builds contains a critical heap buffer overflow that can be triggered by a malicious or compromised TLS endpoint before authentication completes. This affects any organization using affected driver builds to connect to untrusted or external MongoDB instances, potentially leading to memory disclosure, data corruption, or client crashes. Leadership should prioritize mitigation because no vendor patch exists, and the flaw is remotely reachable without credentials.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: restrict outbound connections to trusted endpoints with strict certificate pinning; use network segmentation and TLS inspection to detect MITM; consider recompiling with a non-Windows TLS backend (e.g., OpenSSL) or using an alternative MongoDB driver; monitor for crashes or memory anomalies in applications using the affected driver.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
widely-used MongoDB client library, but flaw gated to Windows platform TLS-backend builds
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

CVE-2020-12135 MEDIUM POC
5.5 Apr 24

bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values. Rated medium

CVE-2026-135224 CRITICAL
9.3 Nov 25

TLS certificate-revocation bypass in the MongoDB C Driver allows a revoked certificate to be accepted when the driver pe

CVE-2026-120678 HIGH
8.7 Nov 03

Repeated, unbounded memory growth in the MongoDB C Driver occurs when the library handles specially crafted compressed r

CVE-2026-120955 HIGH
8.7 Nov 03

Process termination is reachable in applications that use the MongoDB C Driver's GridFS file download API: an internal o

CVE-2026-81522 HIGH
8.6 Aug 27

Namespace injection in the MongoDB C++ Driver (all versions prior to r4.5.1) allows low-privileged users of affected mul

CVE-2026-96746 HIGH
8.3 Sep 24

Heap out-of-bounds write in the MongoDB C Driver (libmongoc) allows an unauthenticated attacker who controls DNS resolut

CVE-2026-84964 HIGH
8.2 Sep 03

Double-free memory corruption in the MongoDB C Driver's OpenSSL-based TLS certificate revocation checking path allows a

CVE-2026-135134 HIGH
8.2 Nov 25

Denial of service in the MongoDB C Driver: a crafted server-discovery response can trigger a NULL pointer dereference an

CVE-2024-7553 HIGH
7.8 Aug 07

Incorrect validation of files loaded from a local untrusted directory may allow local privilege escalation if the underl

CVE-2026-120956 HIGH
7.1 Nov 03

The MongoDB C Driver fails to validate the type and format of the namespace field in a query response, so an unauthentic

CVE-2026-81529 HIGH
7.1 Aug 27

Connection-option injection in the MongoDB C# Driver allows a low-privileged application user to introduce or suppress s

CVE-2026-93395 MEDIUM
6.9 Sep 17

Denial of service in applications using the MongoDB C Driver's libbson library can be triggered by crafted BSON input wi

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy