Skip to main content

MongoDB Server CVE-2025-11979

MEDIUM
Use After Free (CWE-416)
2025-10-20 cna@mongodb.com
6.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with DDL privileges
  2. Exploit
    Issue DDL concurrently with live queries
  3. Execution
    Trigger use-after-free / buffer over-read
  4. Impact
    Crash mongod server (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated account (PR:L) that holds privileges to execute DDL operations (such as creating or dropping collections/indexes) against the target database, and that account must issue such a DDL command concurrently with an active query workload to win the race that triggers the use-after-free/over-read. Exploitation is further limited by the vendor's 'under some conditions' qualifier (indicating timing/race dependence that is not deterministic), by the requirement for valid credentials and DDL authorization (not exploitable by fully unauthenticated users), and by version scope - only MongoDB Server 7.0 before 7.0.25, 8.0 before 8.0.15, and 8.2.0 are affected. Impact is confined to availability (process crash); there is no confidentiality or integrity effect.

Impact

This is a medium-severity authenticated denial-of-service issue, and the available signals are mutually consistent in pointing to a real-but-not-urgent risk. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 6.5) shows network reach but requires low-level privileges (PR:L) and yields availability-only impact (C:N/I:N/A:H) - there is no data disclosure or code execution, only a server crash. EPSS is low at 0.27% (18th percentile), there is no CISA KEV listing, and no public exploit was identified, so exploitation status is 'no public exploit identified at time of analysis.' One internal tension worth flagging: the vendor rated AC:L, but the description says the crash occurs 'under some conditions' by issuing a DDL operation 'while queries are being issued,' which describes a concurrency/race condition that is typically timing-dependent and not reliably triggerable - this argues for higher attack complexity than AC:L suggests. A second discrepancy: CWE-416 (Use After Free) and the 'Use After Free'/'Memory Corruption' tags are assigned, yet the description characterizes the fault as a 'buffer over-read' (more aligned with CWE-125); verify the exact memory-safety root cause with MongoDB. Net: a legitimate patch-worthy availability bug, but not a drop-everything priority - it needs an authenticated actor who can run DDL and can only crash the service, not compromise data.

Exploit ScenarioDerived

An authenticated user (or a compromised application account) with privileges to run DDL operations issues a schema-changing command (e.g., collection/index create or drop) concurrently with an ongoing query workload, triggering a buffer over-read / use-after-free that crashes the mongod process and causes a denial of service. Because exploitation depends on racing a DDL against live queries 'under some conditions,' repeated attempts may be needed before the crash reliably occurs. No public exploit code was identified at the time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 08, 2026

Denial of service in MongoDB Server (7.0 before 7.0.25, 8.0 before 8.0.15, and 8.2.0) lets an authenticated user who holds DDL privileges crash the mongod process by issuing a schema-changing command concurrently with an active query workload. The underlying defect is a use-after-free that surfaces as a buffer over-read (CWE-416) and the trigger is a non-deterministic race, so the assessed vector is AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H - medium severity, availability-only impact, with no confidentiality or integrity effect. No confirmed active exploitation (not in CISA KEV) and no public exploit identified at time of analysis; EPSS is low at 0.27% (18th percentile).

RemediationAI

Vendor-released patch: MongoDB Server 7.0.25 and 8.0.15 are the fixed versions per the advisory's affected-version ranges - upgrade any 7.0.x below 7.0.25 and any 8.0.x below 8.0.15 to at least those releases, and for the affected 8.2.0 release move to the patched 8.2-series build identified at https://jira.mongodb.org/browse/SERVER-105873 (released patched version for 8.2 is not independently confirmed here). MongoDB deployments that cannot patch immediately can reduce exposure, with trade-offs: restrict the ability to run DDL operations (create/drop collections and indexes) to a minimal set of trusted accounts, since only principals holding those privileges can arm the race - this does not remove the bug and can disrupt legitimate schema-management workflows; avoid running DDL during peak query load or schedule maintenance windows with the target database quiesced, which lowers the probability of hitting the race window but is operationally expensive for always-on services; and enable process supervision and alerting on mongod restarts so a crash is detected and the offending schema change can be correlated. Note that generic network controls do not help much here, as the requirement is valid credentials plus DDL authorization rather than unauthenticated reachability.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is a memory-safety flaw in the MongoDB server process, classified as CWE-416 (use-after-free), which in this instance manifests as a buffer over-read along the storage and query-execution path. The CPE data identifies the affected package as mongodb:mongodb, i.e. the MongoDB Server product line, spanning the 7.0, 8.0 and 8.2 release trains. The race is between a data-definition (DDL) operation - for example creating or dropping a collection or an index - and concurrent query execution: under certain timing conditions the server releases or invalidates a memory region while an in-flight query still holds a reference to it, and the subsequent read runs beyond the end of the buffer, faulting and terminating mongod. The assessed vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H reflects the real prerequisites: the attacker must be authenticated and authorized for DDL (PR:L), the service is network-reachable, and the high attack complexity (AC:H) comes from the non-deterministic race window that the vendor qualifies as occurring only 'under some conditions'. There is no scope change, and the impact is confined to availability, since crashing the process yields no data disclosure or modification.

Know when MongoDB gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.3 MEDIUM

Network-reachable but needs an authenticated DDL-capable user (PR:L) and a non-deterministic race between DDL and queries (AC:H); impact is availability-only crash, so C:N/I:N/A:H.

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

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionNVD

An authorized user may crash the MongoDB server by causing buffer over-read. This can be done by issuing a DDL operation while queries are being issued, under some conditions. This issue affects MongoDB Server v7.0 versions prior to 7.0.25, MongoDB Server v8.0 versions prior to 8.0.15, and MongoDB Server version 8.2.0.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
High
MongoDB is one of the most widely deployed enterprise databases
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)NVD

cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*
cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*
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-2018-13863 HIGH POC
7.5 Jul 10

The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul

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-6376 CRITICAL
9.8 Jul 01

MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e

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-2020-7610 CRITICAL
9.8 Mar 30

All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8

CVE-2026-19001 CRITICAL
9.5 Aug 12

Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or

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