Skip to main content

MongoDB CVE-2026-13063

| EUVDEUVD-2026-47798 MEDIUM
Integer Overflow or Wraparound (CWE-190)
2026-07-22 cna@mongodb.com
5.3
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid MongoDB read/write credentials
  2. Delivery
    Connect to mongod network listener
  3. Exploit
    Submit crafted aggregation command with malicious payload values
  4. Execution
    Integer overflow in libmongocrypt validation computes oversized allocation
  5. Persist
    mongod heap exhausted by excessively large allocation
  6. Impact
    OS OOM killer terminates mongod process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

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

Exploitation Conditions

Exploitation requires a valid MongoDB user account with at minimum standard read/write privileges - anonymous or unauthenticated access is explicitly insufficient based on the CVSS 4.0 PR:L metric. The attacker must have network-level access to the mongod listener port and permission to execute aggregation commands. The vulnerability is triggered through the aggregation command interface in conjunction with libmongocrypt's payload processing path, meaning the affected code is reachable in deployments using Client-Side Field Level Encryption or Queryable Encryption features. Exploitation is limited by the credential requirement: attackers must first compromise or possess a legitimate account, reducing the threat to insider abuse, stolen credentials, or multi-tenant co-tenancy scenarios. The 'Information Disclosure' tag is an unconfirmed secondary condition whose prerequisites are unknown.

Impact

The vendor-assigned CVSS 4.0 base score of 5.3 (Medium) reflects network reachability with low-privilege authentication, negligible attack complexity, and a rated availability impact of VA:L on the vulnerable system. The authentication requirement (PR:L) is the primary limiting factor: the attacker must first possess valid MongoDB credentials with read/write access, making opportunistic unauthenticated mass exploitation implausible. Real-world risk is highest in multi-tenant deployments, SaaS platforms sharing a MongoDB instance across tenants, or environments where database credentials may be compromised. In replica set configurations, automatic failover partially mitigates impact, but repeated triggering could deny availability across an entire cluster. EPSS probability data is absent from the provided intelligence. No KEV listing and no POC availability have been reported, indicating no confirmed active exploitation. The 'Information Disclosure' tag conflicts with the description's availability-only characterization and, if accurate, would meaningfully increase risk; this should be verified against the MongoDB advisory. The vendor rates VA:L, which may reflect assumed replica-set resilience; an isolated standalone mongod termination would warrant A:H.

Exploit ScenarioDerived

An attacker who has obtained valid MongoDB credentials with standard read/write access connects to a vulnerable mongod instance over the network and submits a specially constructed aggregation pipeline command containing malformed payload values engineered to trigger the integer overflow in libmongocrypt. The overflow causes libmongocrypt to compute and request an excessively large memory allocation, exhausting mongod's available heap and prompting the OS OOM killer to terminate the process, taking the affected node offline.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 22, 2026

Denial of service against the MongoDB mongod process is achievable by any authenticated user holding standard read/write privileges by submitting a crafted aggregation command that exploits insufficient input validation in the bundled libmongocrypt library. An integer overflow (CWE-190) in libmongocrypt allows attacker-controlled payload values to produce an excessively large memory allocation request, causing the operating system to terminate the mongod process under an out-of-memory condition. No public exploit has been identified and this vulnerability is not listed in the CISA KEV catalog at time of analysis.

RemediationAI

No vendor-released patch version has been confirmed from the available data. The MongoDB Jira ticket SERVER-127737 (https://jira.mongodb.org/browse/SERVER-127737) tracks this issue, but no specific fixed release is cited in the reference material - patch availability per vendor advisory should be checked directly on that ticket and MongoDB's security advisories page. As compensating controls, administrators should apply least-privilege access controls to restrict which user accounts hold read/write privileges and can execute aggregation pipelines, and should consider monitoring aggregation command patterns for anomalous payload sizes using MongoDB's database profiler or audit log. In replica set deployments, verifying that automatic failover and priority settings are correctly configured reduces the availability impact of a single mongod termination. Disabling libmongocrypt-dependent features such as Client-Side Field Level Encryption or Queryable Encryption is not advised as a general workaround without vendor guidance, as the precise code path within libmongocrypt that handles standard aggregation payloads may differ. Monitor MongoDB's security announcements for a patched release.

Affected VersionsENISA

MongoDB Server 8.3.0 <8.3.7
MongoDB Server 8.2.0 <8.2.12

Affected Packages

euvd mongodb_server fix: 8.2.12, 8.3.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The vulnerability resides in MongoDB's libmongocrypt library, the component responsible for client-side field-level encryption, queryable encryption, and related cryptographic payload processing within the MongoDB server. CWE-190 (Integer Overflow or Wraparound) is the root cause class: when parsing aggregation command payloads, libmongocrypt fails to adequately bound or validate attacker-supplied numeric values, permitting an integer arithmetic overflow that produces an abnormally large computed allocation size. The resulting heap allocation exhausts process memory and triggers an OOM kill of the mongod process. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) confirms the path is network-reachable, requires no special attack conditions beyond low-privilege authentication, and carries no complexity barriers. The 'Information Disclosure' tag present in the source intelligence is not corroborated by the CVE description, which identifies only an availability impact; this discrepancy should be clarified with MongoDB.

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

Vendor (mongodb) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-exploitable via aggregation commands with low-privilege credentials; mongod process termination warrants A:H with no confidentiality or integrity impact.

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jul 22, 2026 - 21:03 EUVD
CVE Published
Jul 22, 2026 - 20:16 cve.org
MEDIUM 5.3

DescriptionCVE.org

An authenticated user with standard read/write privileges can cause the mongod process to terminate due to an out-of-memory condition by sending a crafted aggregation command. MongoDB's libmongocrypt library insufficiently validates payload-supplied values, which can result in an excessively large memory allocation.

Threat Intelligence Overview

EPSS Score
0.4%
Top 72% exploitable
Prevalence
High
widely deployed NoSQL database across enterprise, cloud, and SaaS environments
Data Quality
5 sources
Confidence: Medium

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.4%
Patch available Yes
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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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-2026-118383 CRITICAL POC
9.5 Nov 10

Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa

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-129987 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong

CVE-2026-137498 CRITICAL
9.9 Nov 26

Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or

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

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