Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/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 and low-complexity, but requires an authenticated user (PR:L) and server-side JS; impact is confidentiality-only memory disclosure, so I:N and A:N.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
3DescriptionCVE.org
Improper handling of DBPointer objects during BSON serialization in MongoDB's server-side JavaScript engine can result in internal process memory contents being included in data returned to the client. This constitutes an unintended information disclosure affecting deployments that use server-side JavaScript.
AnalysisAI
Information disclosure in MongoDB's server-side JavaScript engine allows authenticated database users to read fragments of internal server process memory. The flaw stems from improper handling of DBPointer objects during BSON serialization, causing uninitialized or adjacent memory contents to be returned to the client. Only deployments that enable server-side JavaScript are affected; no public exploit has been identified at time of analysis and it is not listed in CISA KEV.
Technical ContextAI
MongoDB supports server-side JavaScript execution (via features such as $where, mapReduce, and the eval-style engine) to run application logic inside the database process. BSON is MongoDB's binary serialization format, and DBPointer is a legacy/deprecated BSON type (a reference to another collection and ObjectId). The root cause is classified as CWE-843 (Type Confusion): the serializer mishandles DBPointer objects when producing the BSON returned to the client, so bytes that were never intended for the response - internal process memory - are copied into the result buffer. Because the leak originates from the trusted server process address space, disclosed memory could contain sensitive material such as buffers from other operations.
RemediationAI
Apply the MongoDB-released fix once the patched maintenance versions are published; refer to the vendor ticket https://jira.mongodb.org/browse/SERVER-127694 for the exact fixed build numbers, which are not stated in the available data (do not assume a version). As an immediate compensating control, disable server-side JavaScript execution by starting mongod with security.javascriptEnabled set to false (or the --noscripting option), which eliminates the vulnerable code path entirely; the trade-off is that $where queries, mapReduce, and $function/$accumulator aggregation operators will no longer work, so validate that no application relies on them first. Additionally, tighten role-based access control so that only trusted, least-privilege accounts can issue queries, since exploitation requires authenticated access.
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
Memory corruption in MongoDB standalone mongod servers running with compute mode enabled allows remote attackers to cras
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
Same technique Memory Corruption
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-47795