Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach compute-mode mongod over network
-
DeliverySubmit aggregation query with crafted BSON
-
ExploitTrigger heap buffer overflow in pipeline
-
ExecutionCorrupt process memory
-
ImpactCrash mongod / undefined behavior
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target be a standalone mongod instance started with compute mode explicitly enabled - this is a non-default startup configuration and is the single most important limiting factor; default MongoDB deployments are not affected. The attacker must be able to send an aggregation pipeline request carrying attacker-controlled BSON to the server over the network (AV:N, PR:N, UI:N per the vendor vector), and must craft that BSON to trigger the heap overflow, which the vendor rates as high complexity (AC:H) with a present attack requirement (AT:P). Limiting factors: the non-default compute mode requirement, high crafting complexity, and network reachability of the mongod port; note also that submitting aggregation queries may in many real deployments require database authentication even though the CVSS vector lists PR:N, so authentication requirements should be verified against the vendor advisory. |
| Impact | The signals are mixed and should be weighed carefully rather than taken at CVSS face value. The vendor CVSS 4.0 base score is 9.2 (Critical) with AV:N/PR:N/UI:N (network-reachable, no privileges, no user interaction) and VC:H/VI:H/VA:H, but two metrics temper this materially: AC:H (high attack complexity) and AT:P (a present attack requirement), the latter reflecting that the vulnerable compute mode is non-default and must be explicitly enabled. In practice the confirmed, described impact is memory corruption leading to 'process termination or other unintended behavior' - i.e. a reliable denial of service - while the H confidentiality/integrity ratings appear to reflect the theoretical worst case of heap corruption rather than a demonstrated code-execution or data-disclosure primitive; this is a notable point of tension between the vector and the description. No EPSS score, KEV entry, or POC was provided, so exploitation probability cannot be quantified and there is no evidence of in-the-wild use. Real-world priority is therefore driven almost entirely by whether an organization actually runs standalone mongod in compute mode: for the vast majority of default deployments this is not exploitable, making it a conditional/targeted concern rather than a broad emergency. |
| Exploit ScenarioDerived | An attacker able to reach a standalone mongod running in compute mode submits an aggregation query containing crafted BSON with malformed size/length structure; during pipeline processing the server writes past a heap buffer, corrupting memory and crashing the mongod process, causing a denial of service for all dependent applications. Because attack complexity is high (AC:H) and the vulnerable compute mode must already be enabled (AT:P), reliable exploitation requires both the specific server configuration and a carefully constructed payload; no public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
Memory corruption in MongoDB standalone mongod servers running with compute mode enabled allows remote attackers to crash the process (denial of service) or trigger undefined behavior by supplying maliciously crafted BSON data that is mishandled during aggregation pipeline processing (CWE-122 heap overflow). Only servers explicitly started in the non-default compute mode are affected. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV; the vendor rates it CVSS 4.0 9.2 (Critical) despite high attack complexity and a required precondition.
RemediationAI
Upgrade mongod to the MongoDB-released fixed version tracked in SERVER-128494 (https://jira.mongodb.org/browse/SERVER-128494); the input does not contain an exact fix version, so consult that advisory for the specific patched build and do not rely on an invented version number. As an immediate compensating control where patching is not yet possible, disable compute mode - the vulnerable configuration is non-default, so restarting mongod without the compute-mode startup option removes exposure entirely, at the cost of losing whatever compute-mode functionality the workload depends on. Additionally, restrict network access to the mongod port (default 27017) to trusted application hosts via firewall/security-group rules and require authentication, so that only vetted clients can submit aggregation queries; this reduces the population of potential attackers but does not fix the underlying overflow if a trusted client is compromised.
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 flaw resides in MongoDB's aggregation pipeline engine, which parses and processes BSON (Binary JSON) documents supplied by clients. When the server runs in 'compute mode' - a non-default operating mode that must be explicitly enabled at mongod startup - externally sourced BSON is processed without sufficient validation, permitting an out-of-bounds write consistent with CWE-122 (Heap-based Buffer Overflow), as confirmed by the vendor tags 'Buffer Overflow' and 'Heap Overflow'. BSON is MongoDB's native binary serialization format, and aggregation pipelines are a core query facility; a length/size field or nested structure that is trusted rather than bounds-checked can drive a write past an allocated heap buffer, corrupting adjacent heap metadata or objects. No CPE list was provided in the input, so exact affected build ranges are not enumerated here and must be taken from the vendor advisory (MongoDB SERVER-128494).
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:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable with no privileges but high complexity and a non-default mode requirement (AC:H); demonstrated impact is process crash (A:H), with only theoretical, unproven confidentiality/integrity effects from heap corruption (C:L/I:L).
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
When compute mode is enabled on a standalone mongod instance, insufficient validation of externally sourced BSON data during aggregation pipeline processing can result in memory corruption, potentially leading to process termination or other unintended behavior. This configuration is non-default and requires explicit enablement at startup.
Executive ViewAI
A critical memory corruption vulnerability in MongoDB standalone servers running in compute mode could allow remote attackers to crash database services, causing operational disruption and data availability impact. Organizations using MongoDB's compute mode face service availability risk; those operating in default configurations are not affected.
Disable MongoDB compute mode if not actively required for operations; restrict network access to affected servers through firewall rules; implement input validation for BSON data sources; monitor aggregation pipeline activity for malicious patterns; establish incident response procedures for sudden MongoDB process crashes.
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.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
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
EUVD-2026-47789
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB