Skip to main content

MongoDB Server CVE-2026-13072

| EUVDEUVD-2026-47789 CRITICAL
Heap-based Buffer Overflow (CWE-122)
2026-07-22 cna@mongodb.com
9.2
CVSS 4.0 · Vendor: mongodb
Share

Severity by source

Vendor (mongodb) PRIMARY
9.2 CRITICAL
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
vuln.today AI
7.0 HIGH

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).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

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
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

3
Patch available
Jul 22, 2026 - 21:03 EUVD
Analysis Generated
Jul 22, 2026 - 20:36 vuln.today
CVE Published
Jul 22, 2026 - 20:16 cve.org
CRITICAL 9.2

DescriptionCVE.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.

CVE-2013-1892 MEDIUM POC
6.0 Oct 01

MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo

CVE-2013-3969 MEDIUM POC
6.5 Oct 01

The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a

CVE-2026-25887 HIGH POC
7.2 Mar 06

Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut

CVE-2019-2386 HIGH POC
7.1 Aug 06

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's

CVE-2012-6619 MEDIUM POC
6.4 Mar 06

The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to

CVE-2026-3431 CRITICAL
9.8 Mar 02

SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary

CVE-2024-8654 CRITICAL
9.8 Sep 10

MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle

CVE-2024-1351 CRITICAL
9.8 Mar 07

Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma

CVE-2021-20333 MEDIUM POC
5.3 Jul 23

Sending specially crafted commands to a MongoDB Server may result in artificial log entries being generated or for log e

CVE-2017-15535 CRITICAL
9.1 Nov 01

MongoDB 3.4.x before 3.4.10, and 3.5.x-development, has a disabled-by-default configuration setting, networkMessageCompr

CVE-2020-2268 HIGH
8.8 Sep 16

A cross-site request forgery (CSRF) vulnerability in Jenkins MongoDB Plugin 1.3 and earlier allows attackers to gain acc

CVE-2013-2132 MEDIUM POC
4.3 Aug 15

bson/_cbsonmodule.c in the mongo-python-driver (aka. Rated medium severity (CVSS 4.3), this vulnerability is remotely ex

Share

CVE-2026-13072 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy