Skip to main content

MongoDB C Driver CVE-2026-120678

| EUVDEUVD-2026-116133 HIGH
Memory Leak (CWE-401)
2026-11-03 mongodb
8.7
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Lure client to attacker-controlled MongoDB endpoint
  2. Delivery
    Return crafted compressed server responses
  3. Exploit
    Trigger unreleased memory in C Driver
  4. Execution
    Repeat to grow memory unbounded
  5. Impact
    Exhaust memory, application unavailable

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Exploitation requires that the application's MongoDB C Driver connect to a database endpoint the attacker controls or can influence (a rogue/compromised MongoDB server or a man-in-the-middle position), and that the connection use MongoDB wire-protocol compression so the driver processes the crafted compressed responses that are never freed. Within those conditions it is unauthenticated with no user interaction (PR:N/UI:N) and works regardless of transport security settings. The key limiting factor is server-side trust: an attacker cannot trigger it merely by reaching the client over the network - they must be the endpoint the client talks to (or intercept it), which meaningfully narrows realistic exploitation to untrusted-endpoint or MITM scenarios.

Impact

The input provides a CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H...) scored 8.7 (High), with impact confined entirely to availability (VA:H; VC:N/VI:N) - consistent with CWE-401 missing release of memory leading to resource exhaustion, not data exposure. No EPSS score, no CISA KEV listing, and no SSVC automatable/technical-impact breakdown are supplied; the only priority signal is the vuln.today Decision label 'this_week', which indicates a prioritized-but-not-emergency timeline rather than active exploitation. The single reference is a MongoDB JIRA tracker (CDRIVER-6521), i.e. a vendor issue record, not verified working exploit code. The most important nuance the raw 8.7 obscures is the exploitation precondition in the description: the attacker must control the database endpoint the client connects to. So while the vector is correctly AV:N/PR:N/UI:N (unauthenticated, no user interaction), real-world risk is gated by whether an attacker can make a client connect to a rogue/compromised MongoDB server or man-in-the-middle the connection, rather than by attacking an exposed service directly. Treat this as a genuine availability/DoS concern for applications that may connect to untrusted or attacker-influenceable endpoints, but not a mass-exploitable internet-facing flaw; absence of EPSS/KEV data means widespread exploitation cannot be inferred.

Exploit ScenarioDerived

An attacker who operates or has compromised the MongoDB endpoint a client application connects to (or who can MITM the connection) returns specially crafted compressed server responses. Each response causes the MongoDB C Driver to retain memory it never frees, so sustained traffic drives unbounded memory growth until the client application exhausts memory and becomes unavailable. No credentials, TLS settings, or user interaction are required; no verified public exploit code is identified at time of analysis (the sole reference is a vendor JIRA ticket).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet

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

Alert me

AnalysisAIv1 – Nov 03, 2026

Repeated, unbounded memory growth in the MongoDB C Driver occurs when the library handles specially crafted compressed responses from a MongoDB server, because memory allocated for those responses is never released (CWE-401). The driver is unauthenticated and requires no user interaction (CVSS 4.0 8.7; assessed CVSS 3.1 AV:N/AC:L/PR:N/UI:N/A:H, availability-only), so the realistic impact is denial of service against the client application through memory exhaustion. Exploitation is gated by server-side trust rather than by the client's exposure: the attacker must be the database endpoint the application connects to, or be positioned to intercept that connection, and the connection must use MongoDB wire-protocol compression. No public exploit code was identified at time of analysis and the issue is not in CISA KEV; the vuln.today decision label places remediation in this week's patch cycle rather than an emergency response.

RemediationAI

No vendor-released patch was identified at time of analysis; the only supplied reference is the MongoDB tracking issue CDRIVER-6521 (https://jira.mongodb.org/browse/CDRIVER-6521), which should be monitored for the fixed driver release and for the confirmed affected version range before upgrading. Because the exploitation precondition established in the assessment is that the connection uses MongoDB wire-protocol compression, the directly applicable mitigation is to disable compression on connections that are not made to fully trusted, controlled MongoDB endpoints (for example by omitting compressors from the connection string), at the cost of reduced throughput and higher bandwidth usage on those links; note that transport security settings do not mitigate this issue, since the flaw is reachable regardless of TLS configuration. Mitigation should focus on the trust boundary rather than the network path: restrict client connections to endpoints whose authenticity the application can verify and avoid pointing drivers at database endpoints controlled or influenceable by third parties, since an attacker in a man-in-the-middle position is equivalent to a malicious server for this flaw. Restarting or recycling long-lived client processes limits the blast radius of accumulated leaked memory but does not address the root cause.

Affected VersionsENISA

C Driver 1.25.0 ≤1.30.14
C Driver 2.0.0 ≤2.5.7

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 flaw is a missing-release-of-memory weakness (CWE-401) in the MongoDB C Driver's handling of compressed responses received over the MongoDB wire protocol. When a client connection negotiates wire-protocol compression, the driver decompresses and processes server responses; in affected builds the memory backing those compressed responses is retained instead of being freed, so each crafted response adds to the process's resident memory until the application exhausts available memory and becomes unavailable. The provided CPE (cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:*:*:*) identifies the C driver as the affected component but carries a wildcard version, so the precise affected and fixed version boundaries are not established by the supplied data. The independent assessment confirms the impact is confined to availability (VC:N/VI:N/VA:H) with scope unchanged, which is consistent with resource exhaustion rather than data exposure or corruption; the specific code path and the exact construction of the triggering compressed response are not described in the available sources.

Know when MongoDB 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 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Unauthenticated network-triggered memory leak via attacker-controlled endpoint (AV:N/AC:L/PR:N/UI:N); impact is availability-only resource exhaustion, so C:N/I:N/A:H.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

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

DescriptionCVE.org

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, unbounded memory growth in that application, which may result in the application becoming unavailable. No credentials, transport security settings, or user interaction are required.

Executive ViewAI

Why It Matters

A high-severity memory-handling flaw in the MongoDB C Driver can be triggered by a malicious or compromised MongoDB server endpoint (or an attacker intercepting the connection) to exhaust memory in client applications that rely on the driver, resulting in denial of service. Leadership should care because any internal application or service built on this driver and connecting to external or untrusted MongoDB endpoints could be forced offline, disrupting dependent business processes. The risk is availability-focused and is gated by the trustworthiness of the database endpoint and use of wire-protocol compression.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable MongoDB wire-protocol compression on affected connections; restrict client connections to explicitly trust-listed, trusted MongoDB endpoints; apply per-process memory limits and monitoring to bound the impact of memory exhaustion; and monitor vendor advisories for a fixed driver version.

Threat Intelligence Overview

Prevalence
Medium
libmongoc library underpins many MongoDB clients; common but not universally deployed
Social Media
1
Sightings
Data Quality
3 sources
Confidence: Low

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 HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2013-1892 MEDIUM POC
6.0 Oct 01

MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo

CVE-2013-3969 MEDIUM POC
6.5 Oct 01

The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a

CVE-2018-13863 HIGH POC
7.5 Jul 10

The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul

CVE-2026-25887 HIGH POC
7.2 Mar 06

Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut

CVE-2019-2386 HIGH POC
7.1 Aug 06

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's

CVE-2012-6619 MEDIUM POC
6.4 Mar 06

The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to

CVE-2026-3431 CRITICAL
9.8 Mar 02

SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary

CVE-2024-8654 CRITICAL
9.8 Sep 10

MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle

CVE-2024-6376 CRITICAL
9.8 Jul 01

MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e

CVE-2024-1351 CRITICAL
9.8 Mar 07

Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma

CVE-2020-7610 CRITICAL
9.8 Mar 30

All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8

CVE-2026-19001 CRITICAL
9.5 Aug 12

Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or

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