Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain MITM position or host rogue endpoint
-
DeliveryInduce client TLS connection to attacker
-
ExploitSend crafted encrypted traffic
-
ExecutionTrigger heap buffer overflow in Windows TLS backend
-
ImpactCorrupt 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
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.
Articles & Coverage 2
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values. Rated medium
TLS certificate-revocation bypass in the MongoDB C Driver allows a revoked certificate to be accepted when the driver pe
Repeated, unbounded memory growth in the MongoDB C Driver occurs when the library handles specially crafted compressed r
Process termination is reachable in applications that use the MongoDB C Driver's GridFS file download API: an internal o
Namespace injection in the MongoDB C++ Driver (all versions prior to r4.5.1) allows low-privileged users of affected mul
Heap out-of-bounds write in the MongoDB C Driver (libmongoc) allows an unauthenticated attacker who controls DNS resolut
Double-free memory corruption in the MongoDB C Driver's OpenSSL-based TLS certificate revocation checking path allows a
Denial of service in the MongoDB C Driver: a crafted server-discovery response can trigger a NULL pointer dereference an
Incorrect validation of files loaded from a local untrusted directory may allow local privilege escalation if the underl
The MongoDB C Driver fails to validate the type and format of the namespace field in a query response, so an unauthentic
Connection-option injection in the MongoDB C# Driver allows a low-privileged application user to introduce or suppress s
Denial of service in applications using the MongoDB C Driver's libbson library can be triggered by crafted BSON input wi
EUVD-2026-82435
GHSA-x65h-hw7w-mq6w
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB