MongoDB Server
CVE-2025-11979
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with DDL privileges
-
ExploitIssue DDL concurrently with live queries
-
ExecutionTrigger use-after-free / buffer over-read
-
ImpactCrash mongod server (denial of service)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
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 | Requires an authenticated account (PR:L) that holds privileges to execute DDL operations (such as creating or dropping collections/indexes) against the target database, and that account must issue such a DDL command concurrently with an active query workload to win the race that triggers the use-after-free/over-read. Exploitation is further limited by the vendor's 'under some conditions' qualifier (indicating timing/race dependence that is not deterministic), by the requirement for valid credentials and DDL authorization (not exploitable by fully unauthenticated users), and by version scope - only MongoDB Server 7.0 before 7.0.25, 8.0 before 8.0.15, and 8.2.0 are affected. Impact is confined to availability (process crash); there is no confidentiality or integrity effect. |
| Impact | This is a medium-severity authenticated denial-of-service issue, and the available signals are mutually consistent in pointing to a real-but-not-urgent risk. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 6.5) shows network reach but requires low-level privileges (PR:L) and yields availability-only impact (C:N/I:N/A:H) - there is no data disclosure or code execution, only a server crash. EPSS is low at 0.27% (18th percentile), there is no CISA KEV listing, and no public exploit was identified, so exploitation status is 'no public exploit identified at time of analysis.' One internal tension worth flagging: the vendor rated AC:L, but the description says the crash occurs 'under some conditions' by issuing a DDL operation 'while queries are being issued,' which describes a concurrency/race condition that is typically timing-dependent and not reliably triggerable - this argues for higher attack complexity than AC:L suggests. A second discrepancy: CWE-416 (Use After Free) and the 'Use After Free'/'Memory Corruption' tags are assigned, yet the description characterizes the fault as a 'buffer over-read' (more aligned with CWE-125); verify the exact memory-safety root cause with MongoDB. Net: a legitimate patch-worthy availability bug, but not a drop-everything priority - it needs an authenticated actor who can run DDL and can only crash the service, not compromise data. |
| Exploit ScenarioDerived | An authenticated user (or a compromised application account) with privileges to run DDL operations issues a schema-changing command (e.g., collection/index create or drop) concurrently with an ongoing query workload, triggering a buffer over-read / use-after-free that crashes the mongod process and causes a denial of service. Because exploitation depends on racing a DDL against live queries 'under some conditions,' repeated attempts may be needed before the crash reliably occurs. No public exploit code was identified at the time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Denial of service in MongoDB Server (7.0 before 7.0.25, 8.0 before 8.0.15, and 8.2.0) lets an authenticated user who holds DDL privileges crash the mongod process by issuing a schema-changing command concurrently with an active query workload. The underlying defect is a use-after-free that surfaces as a buffer over-read (CWE-416) and the trigger is a non-deterministic race, so the assessed vector is AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H - medium severity, availability-only impact, with no confidentiality or integrity effect. No confirmed active exploitation (not in CISA KEV) and no public exploit identified at time of analysis; EPSS is low at 0.27% (18th percentile).
RemediationAI
Vendor-released patch: MongoDB Server 7.0.25 and 8.0.15 are the fixed versions per the advisory's affected-version ranges - upgrade any 7.0.x below 7.0.25 and any 8.0.x below 8.0.15 to at least those releases, and for the affected 8.2.0 release move to the patched 8.2-series build identified at https://jira.mongodb.org/browse/SERVER-105873 (released patched version for 8.2 is not independently confirmed here). MongoDB deployments that cannot patch immediately can reduce exposure, with trade-offs: restrict the ability to run DDL operations (create/drop collections and indexes) to a minimal set of trusted accounts, since only principals holding those privileges can arm the race - this does not remove the bug and can disrupt legitimate schema-management workflows; avoid running DDL during peak query load or schedule maintenance windows with the target database quiesced, which lowers the probability of hitting the race window but is operationally expensive for always-on services; and enable process supervision and alerting on mongod restarts so a crash is detected and the offending schema change can be correlated. Note that generic network controls do not help much here, as the requirement is valid credentials plus DDL authorization rather than unauthenticated reachability.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is a memory-safety flaw in the MongoDB server process, classified as CWE-416 (use-after-free), which in this instance manifests as a buffer over-read along the storage and query-execution path. The CPE data identifies the affected package as mongodb:mongodb, i.e. the MongoDB Server product line, spanning the 7.0, 8.0 and 8.2 release trains. The race is between a data-definition (DDL) operation - for example creating or dropping a collection or an index - and concurrent query execution: under certain timing conditions the server releases or invalidates a memory region while an in-flight query still holds a reference to it, and the subsequent read runs beyond the end of the buffer, faulting and terminating mongod. The assessed vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H reflects the real prerequisites: the attacker must be authenticated and authorized for DDL (PR:L), the service is network-reachable, and the high attack complexity (AC:H) comes from the non-deterministic race window that the vendor qualifies as occurring only 'under some conditions'. There is no scope change, and the impact is confined to availability, since crashing the process yields no data disclosure or modification.
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
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Network-reachable but needs an authenticated DDL-capable user (PR:L) and a non-deterministic race between DDL and queries (AC:H); impact is availability-only crash, so C:N/I:N/A:H.
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
An authorized user may crash the MongoDB server by causing buffer over-read. This can be done by issuing a DDL operation while queries are being issued, under some conditions. This issue affects MongoDB Server v7.0 versions prior to 7.0.25, MongoDB Server v8.0 versions prior to 8.0.15, and MongoDB Server version 8.2.0.
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
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
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.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)NVD
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
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
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma
All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8
Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB