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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Lifecycle Timeline
3DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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).
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.
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
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
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma
Sending specially crafted commands to a MongoDB Server may result in artificial log entries being generated or for log e
MongoDB 3.4.x before 3.4.10, and 3.5.x-development, has a disabled-by-default configuration setting, networkMessageCompr
A cross-site request forgery (CSRF) vulnerability in Jenkins MongoDB Plugin 1.3 and earlier allows attackers to gain acc
bson/_cbsonmodule.c in the mongo-python-driver (aka. Rated medium severity (CVSS 4.3), this vulnerability is remotely ex
Same weakness CWE-122 – Heap-based Buffer Overflow
View allSame technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-47789