Skip to main content

MongoDB Server EUVDEUVD-2026-29890

| CVE-2026-8199 HIGH
Improperly Controlled Sequential Memory Allocation (CWE-1325)
2026-05-13 mongodb GHSA-ch76-jrmh-qm2h
7.1
CVSS 4.0 · NVD
Share

Severity by source

NVD PRIMARY
7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/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

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/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
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

7
Analysis Updated
May 13, 2026 - 16:02 vuln.today
v2 (cvss_changed)
Re-analysis Queued
May 13, 2026 - 15:52 vuln.today
cvss_changed
Severity Changed
May 13, 2026 - 15:52 NVD
MEDIUM HIGH
CVSS changed
May 13, 2026 - 15:52 NVD
6.5 (MEDIUM) 7.1 (HIGH)
Patch available
May 13, 2026 - 01:17 EUVD
Analysis Generated
May 13, 2026 - 01:15 vuln.today
CVE Published
May 13, 2026 - 00:05 nvd
MEDIUM 6.5

DescriptionCVE.org

An authenticated user can cause excess memory usage via bitwise match expression AST processing of $bitsAllSet, $bitsAnySet, $bitsAllClear, and $bitsAnyClear. This contributes to memory pressure and may lead to availability loss by OOM.

This issue impacts MongoDB Server v7.0 versions prior to 7.0.34, v8.0 versions prior to 8.0.23, v8.2 versions prior to 8.2.9 and v8.3 versions prior to 8.3.2.

AnalysisAI

Authenticated attackers can exhaust MongoDB Server memory using malicious bitwise match expressions ($bitsAllSet, $bitsAnySet, $bitsAllClear, $bitsAnyClear), leading to out-of-memory denial of service. Affects MongoDB Server 7.0 prior to 7.0.34, 8.0 prior to 8.0.23, 8.2 prior to 8.2.9, and 8.3 prior to 8.3.2. Vendor-released patches are available across all affected major versions. EPSS score of 0.04% (12th percentile) indicates low observed exploitation probability in the wild, and no public exploit code has been identified at time of analysis.

Technical ContextAI

This vulnerability resides in MongoDB Server's query processing engine, specifically the Abstract Syntax Tree (AST) parsing logic for bitwise match operators used in query expressions. The affected operators ($bitsAllSet, $bitsAnySet, $bitsAllClear, $bitsAnyClear) enable bitwise comparisons in MongoDB queries but contain a flaw (CWE-1325: Improperly Controlled Sequential Memory Allocation) where crafted expressions trigger unbounded memory allocation during AST construction or evaluation. MongoDB's query execution pipeline parses these operators into an internal AST representation, and the vulnerability allows authenticated users to construct queries that cause the parser to allocate excessive heap memory without proper bounds checking. This memory exhaustion is not released until the query completes or the server process terminates, creating sustained memory pressure. The vulnerability affects four concurrent major version branches (7.0, 8.0, 8.2, 8.3), suggesting the vulnerable code path exists in a shared query processing component across MongoDB's current architecture.

RemediationAI

Upgrade to patched MongoDB Server versions: 7.0.34 or later for 7.0.x deployments, 8.0.23 or later for 8.0.x deployments, 8.2.9 or later for 8.2.x deployments, or 8.3.2 or later for 8.3.x deployments. Vendor patches available from MongoDB official channels and detailed in Jira issue SERVER-122449 at https://jira.mongodb.org/browse/SERVER-122449. If immediate patching is not feasible, implement compensating controls: restrict database authentication to only trusted users and applications with business justification (reduces attack surface to PR:L requirement); configure MongoDB memory limits using systemd MemoryMax or container resource limits to contain OOM impact (prevents complete system failure but may cause database restarts-test thoroughly as this affects legitimate workload); enable MongoDB query profiling and establish baseline memory usage patterns to detect anomalous query behavior (set slowms threshold and monitor for queries with excessive memory allocation); implement application-layer query validation to reject or sanitize queries containing $bitsAllSet, $bitsAnySet, $bitsAllClear, $bitsAnyClear operators if not required by legitimate use cases (requires application code changes and may break functionality). Note that compensating controls only reduce likelihood or impact-patching is the definitive remediation.

CVE-2026-18691 CRITICAL
9.0 Aug 11

Credential exposure in MongoDB Server's replica-set/sharded-cluster internal authentication allows an adjacent-network a

CVE-2026-8053 HIGH
8.7 May 12

Out-of-bounds memory write in MongoDB Server's time-series collection feature enables arbitrary code execution by authen

CVE-2026-4148 HIGH
8.7 Mar 17

MongoDB Server sharded clusters are vulnerable to use-after-free memory corruption when authenticated users with read pe

CVE-2026-9740 HIGH
8.7 Jun 09

Remote unauthenticated denial-of-service in MongoDB Server's BSON validation layer allows attackers to crash the mongod

CVE-2026-18697 HIGH
8.7 Aug 11

Unauthenticated denial of service in MongoDB Server's aggregation framework allows remote attackers to crash the mongos

CVE-2026-9742 HIGH
8.2 Jun 09

Pre-authentication denial-of-service in MongoDB Server allows unauthenticated remote clients to crash the database proce

CVE-2026-8336 HIGH
7.7 May 13

Authenticated users can crash MongoDB Server by chaining specific server-side JavaScript operations ($_internalJsEmit or

CVE-2026-18692 HIGH
7.7 Aug 11

Use-after-free in MongoDB Server's timeseries bucket lifecycle handling allows an authenticated user with write-level pr

CVE-2026-18706 HIGH
7.5 Aug 11

Use-after-free memory corruption in MongoDB Server's $graphLookup aggregation stage allows an authenticated high-privile

CVE-2026-9753 HIGH
7.2 Jun 09

Memory disclosure and denial-of-service in MongoDB Server allows any authenticated user with aggregate command privilege

CVE-2026-18712 HIGH
7.2 Aug 11

Queryable Encryption maintenance operations in MongoDB Server permit an authenticated low-privileged database user to ca

CVE-2026-18690 HIGH
7.2 Aug 11

Authorization bypass in MongoDB Server allows an authenticated user holding only a limited database-scoped role to issue

Share

EUVD-2026-29890 vulnerability details – vuln.today

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