Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with readWrite privileges
-
DeliveryCraft malicious $setWindowFields pipeline
-
ExploitTrigger SBE accumulator use-after-free
-
ExecutionDereference dangling pointer during serialization
-
ImpactLeak adjacent heap data and crash mongod
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 | Exploitation requires an authenticated account with readWrite privileges on a database (PR:L), so it is not remotely exploitable against default unauthenticated access. The attacker must craft a specific $setWindowFields aggregation pipeline whose window-function accumulator executes under the Slot-Based Execution (SBE) engine, and the issue only manifests 'under specific conditions' when the accumulator carries forward a value that is later serialized - the precise state needed to produce the dangling pointer is not fully detailed in the available sources. Exploitation is further limited to MongoDB Server 8.3.0-8.3.15 and 9.0.0-9.0.6; it does not affect fixed releases 8.3.16 and 9.0.7. The primary limiting factors are the required database-level authentication and privilege, and the dependence on the SBE execution path for the affected pipeline. |
| Impact | This is a moderate-severity, authenticated denial-of-service with a limited information-disclosure component, not a critical remote-code-execution priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) confirms network reach and low attack complexity, but PR:L means the attacker must already hold readWrite privileges on a database - this is a post-authentication issue, so the realistic threat is a malicious or compromised low-privilege database user rather than an anonymous internet attacker. Impact is skewed toward availability (VA:H - the stale pointer dereference crashes mongod) with only limited confidentiality exposure (VC:L - a heap out-of-bounds read may leak adjacent heap contents); there is no integrity impact (VI:N). No EPSS score and no KEV listing were provided, and no public exploit was identified - the sole reference is a MongoDB JIRA tracking ticket (SERVER-135180), not working exploit code. The vendor's own priority signal is 'this_week', consistent with a serious-but-not-emergency bug that should be patched promptly. Overall this is a genuine but bounded operational risk: high impact to a MongoDB instance's availability if an attacker already has database access, low likelihood of opportunistic mass exploitation. |
| Exploit ScenarioDerived | An authenticated user holding readWrite privileges on any database submits a crafted $setWindowFields aggregation pipeline whose window-function accumulator runs under MongoDB's Slot-Based Execution engine, causing the accumulator to retain a dangling pointer. When the carried-forward value is later serialized, the freed memory is dereferenced, producing a heap out-of-bounds read that can leak adjacent heap contents and crash the mongod process. No public exploit was identified at time of analysis; the only reference is the vendor's JIRA ticket. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 10, 2026
Authenticated denial of service and limited heap memory disclosure affect MongoDB Server 8.3.x and 9.0.x when a user with readWrite privileges submits a crafted $setWindowFields aggregation pipeline that exercises an SBE window-function accumulator retaining a dangling pointer. Dereferencing that stale pointer during serialization of a carried-forward value produces a heap out-of-bounds read that can leak adjacent heap contents and crash mongod. Fixed releases are 8.3.16 and 9.0.7; no public exploit identified at time of analysis, and the requirement for database-level credentials keeps this below unauthenticated remote-code-execution priority.
RemediationAI
Apply the vendor fix by upgrading MongoDB Server to 8.3.16 or 9.0.7, the first releases outside the affected ranges, and track the vendor issue at https://jira.mongodb.org/browse/SERVER-135180; this is prioritized for the current week's remediation cycle. Until the upgrade is complete, limit readWrite role assignments to accounts that genuinely require them and review aggregation pipelines using $setWindowFields, because the defect is reachable only by authenticated users holding that database privilege; these steps reduce exposure but do not remediate the underlying use-after-free. No vendor workaround beyond updating is identified in the available sources.
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 defect is a CWE-416 use-after-free in MongoDB's Slot-Based Execution (SBE) engine, specifically in a window-function accumulator used by certain $setWindowFields aggregation pipelines. The accumulator can retain a pointer to memory that has already been freed and later dereference it while serializing the carried-forward value, yielding a heap out-of-bounds read rather than a write primitive. Affected ranges are MongoDB Server 8.3.0 through 8.3.15 and 9.0.0 through 9.0.6; 8.3.16 and 9.0.7 are outside the affected ranges. The available sources do not describe the precise accumulator state, pipeline shape, or memory-reuse timing needed to create the dangling pointer, so the trigger beyond 'specific conditions' in an SBE-executed $setWindowFields pipeline remains unverified. The assessed impact is a moderate-severity, authenticated denial of service with a limited information-disclosure component.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Network-reachable aggregation command with low complexity but requiring readWrite privileges (PR:L); limited heap leak (C:L), no integrity impact, and server crash drives A:H.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
A use-after-free issue exists in MongoDB’s SBE (Slot-Based Execution) implementation of a window function accumulator used by certain $setWindowFields aggregation pipelines. Under specific conditions, the accumulator can retain a dangling pointer to memory that has since been freed. When this stale pointer is later dereferenced during serialization of the carried-forward value, it can result in a heap out-of-bounds read that may expose adjacent heap contents and crash the mongod server. An authenticated user with readWrite privileges on a database can trigger this issue by crafting a specific aggregation pipeline.
Articles & Coverage 1
Executive ViewAI
MongoDB Server 8.3.x and 9.0.x contain an authenticated denial-of-service and heap memory disclosure flaw. An attacker with valid readWrite privileges can craft a $setWindowFields aggregation pipeline to crash the mongod process and potentially leak sensitive heap data. This requires existing database credentials, but any user with normal write access can exploit it, so insider threats or compromised accounts are the primary concern.
Apply vendor patch. If immediate patching is not possible, restrict readWrite privileges to trusted users, monitor for anomalous aggregation pipelines, and isolate MongoDB instances from untrusted networks.
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.
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.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa
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
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
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
EUVD-2026-122883
GHSA-xqmg-xhh6-75p8
NVD
CVE.org
EPSS
Exploit-DB