CVE-2026-13056

A user with read access can cause a DoS by executing a specifically crafted query to consume a large amount of RAM

Published Jul 22, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
Using expressions that generate large arrays it is possible to craft a query that creates very large intermediate objects in memory, causing the server to crash with OOM error.

Analysis

AI-generated

Technical impact

A denial of service vulnerability exists when a user with read access submits a query that uses array expressions to generate excessively large intermediate objects in memory. The malformed query causes the MongoDB Server to run out of memory and crash with an OOM error, taking the database service offline. This weakness is identified as CWE‑1325 and provides no code execution or data exfiltration capability.

Affected Systems

The flaw affects all MongoDB Server deployments that have not been updated to a release containing the fix committed to SERVER‑124355. No specific version range is listed, so the risk applies to every release prior to the patch.

Risk and Exploitability

With a CVSS score of 7.1, the vulnerability is considered moderate to high. An attacker only needs standard read access to the database to submit the crafted query; no elevated privileges or lateral movement are required. The EPSS score of less than 1% indicates a low but non‑zero probability of exploitation, and the vulnerability is not currently listed in the CISA KEV catalog, meaning no widespread exploitation has been publicly reported. Nonetheless, any user capable of submitting a query could trigger the DoS, making it important to mitigate early.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest MongoDB Server version that contains the fix for SERVER‑124355.
  • Implement query validation or a whitelist to prevent execution of queries that could create oversized arrays.
  • Configure system or mongod memory limits to reduce the chance of an OOM crash being catastrophic.

Generated by OpenCVE AI on August 3, 2026 at 23:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Mongodb
Mongodb mongodb Server
Vendors & Products Mongodb
Mongodb mongodb Server
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Using expressions that generate large arrays it is possible to craft a query that creates very large intermediate objects in memory, causing the server to crash with OOM error.
Title A user with read access can cause a DoS by executing a specifically crafted query to consume a large amount of RAM
Weaknesses CWE-1325
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 7.1, 'vector': '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'}

Weaknesses
  • CWE-1325

    Improperly Controlled Sequential Memory Allocation

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Jul 23, 2026, 2:25 PM
Reserved
Jun 23, 2026, 5:59 PM
Status
Analyzed
Published
Jul 22, 2026, 8:16 PM
Modified
Oct 24, 2026, 1:10 PM