Skip to main content

MongoDB Server EUVDEUVD-2026-35857

| CVE-2026-9740 HIGH
Uncontrolled Recursion (CWE-674)
2026-06-09 mongodb GHSA-wvrr-4w4f-3v54
8.7
CVSS 4.0 · Vendor: mongodb
Share

Severity by source

Vendor (mongodb) PRIMARY
8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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 Vendor (mongodb) · only source for this CVE.

CVSS VectorVendor: mongodb

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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
None
User Interaction
None
Scope
X

Lifecycle Timeline

6
Patch available
Jun 10, 2026 - 02:01 EUVD
Analysis Updated
Jun 09, 2026 - 23:28 vuln.today
v3 (cvss_changed)
Analysis Updated
Jun 09, 2026 - 23:28 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Jun 09, 2026 - 23:22 vuln.today
cvss_changed
CVSS changed
Jun 09, 2026 - 23:22 NVD
7.5 (HIGH) 8.7 (HIGH)
Analysis Generated
Jun 09, 2026 - 23:21 vuln.today

DescriptionCVE.org

A vulnerability in MongoDB Server's BSON validation logic allows an unauthenticated user to crash the mongod process by sending a specially crafted message. The BSON validator's handling of certain nested binary data structures permits uncontrolled mutual recursion between validation functions, where each re-entry resets internal depth tracking.

AnalysisAI

Remote unauthenticated denial-of-service in MongoDB Server's BSON validation layer allows attackers to crash the mongod process by sending a crafted message containing nested binary structures that trigger uncontrolled mutual recursion. The CVSS 4.0 score of 8.7 reflects high availability impact with network attack vector and no authentication required. No public exploit identified at time of analysis, but the low-complexity, no-auth profile makes this a priority patch for internet-reachable MongoDB deployments.

Technical ContextAI

MongoDB Server (cpe:2.3:a:mongodb:mongodb_server) is a widely deployed document database that uses BSON (Binary JSON) as its native wire and storage format. The vulnerability sits in the BSON validator, which is responsible for ensuring incoming documents conform to the BSON spec before they are processed. CWE-674 (Uncontrolled Recursion) describes precisely the failure mode here: when the validator encounters certain nested binary subtypes, two validation functions call back into each other in a mutual recursion pattern, and each re-entry resets the internal depth counter. Because the depth guard is the mechanism intended to prevent stack exhaustion on adversarial input, resetting it on every mutual call defeats the guard entirely and lets a single crafted message exhaust the process stack, terminating mongod.

RemediationAI

Patch available per vendor advisory - upgrade mongod to the patched point release of your major version line as documented in MongoDB JIRA SERVER-125063 (https://jira.mongodb.org/browse/SERVER-125063); exact fix versions are not enumerated in the supplied data, so confirm the target build against the ticket before deploying. Until the upgrade is rolled out, restrict mongod's listening port (default 27017) to trusted application subnets via host firewall or security groups so unauthenticated network peers cannot reach the wire protocol, accepting that this does not protect against a malicious or compromised application server sending the crafted message. Enabling authentication (--auth) does not mitigate this issue because the crash is triggered during BSON validation that occurs before authentication completes, so network-layer access control is the only effective interim compensating control.

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

CVE-2026-18693 HIGH
7.2 Aug 11

Memory corruption in MongoDB Server's timeseries collection handling allows an authenticated user with write privileges

Share

EUVD-2026-35857 vulnerability details – vuln.today

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