CVE-2026-18688

Out-of-Bounds Read in MongoDB Aggregation Framework Leads to Denial of Service and Potential Memory Disclosure

Published Aug 11, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
An issue in MongoDB Server's aggregation framework could allow an authenticated user to trigger an out-of-bounds memory read by providing a specially formed numeric parameter in a certain aggregation pipeline stage. This could result in a server crash (denial of service) and may potentially expose a limited amount of memory contents.

Analysis

AI-generated

Technical impact

The vulnerability is an out‑of‑bounds memory read in MongoDB Server's aggregation framework. An authenticated user can trigger the flaw by supplying a specially crafted numeric value in a particular pipeline stage. The unchecked bounds allow the server to read beyond the intended buffer, causing a crash. The only confirmed effect is a denial‑of‑service condition, with the possibility of exposing a limited amount of memory content, but the description does not confirm any tangible data leak.

Affected Systems

MongoDB Server is affected. No specific version numbers are disclosed, so all deployments that enable the aggregation framework and allow authenticated users may be vulnerable until a patch is applied.

Risk and Exploitability

The CVSS score of 7.1 indicates a high‑risk vulnerability. The EPSS score of less than 1% shows that real‑world exploitation is unlikely but still possible. The issue is not in CISA's Known Exploited Vulnerabilities catalog. Based on the description, it is inferred that the attacker must authenticate to the database and submit a malicious aggregation pipeline; thus, the attack vector is local or network based with valid credentials. If a threat actor can obtain or guess these credentials, the exploitation would lead to a server crash and optional memory exposure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MongoDB Server to the latest version that contains the fix for the aggregation framework out‑of‑bounds read.
  • If an upgrade cannot be performed immediately, limit the use of full aggregation pipelines to accounts with elevated privileges and enforce strict validation of numeric parameters in client applications.
  • For added precautions, monitor MongoDB logs for repeated aggregation pipeline errors and consider disabling the problematic pipeline stage until a patch is applied.

Generated by OpenCVE AI on August 12, 2026 at 20: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
CPEs cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:9.0.0:alpha0:*:*:-:-:*:*
cpe:2.3:a:mongodb:mongodb:9.0.0:alpha1:*:*:-:-:*:*
cpe:2.3:a:mongodb:mongodb:9.1.0:alpha0:*:*:-:-:*:*
Vendors & Products Mongodb mongodb
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 An issue in MongoDB Server's aggregation framework could allow an authenticated user to trigger an out-of-bounds memory read by providing a specially formed numeric parameter in a certain aggregation pipeline stage. This could result in a server crash (denial of service) and may potentially expose a limited amount of memory contents.
Title Out-of-Bounds Read in MongoDB Aggregation Framework Leads to Denial of Service and Potential Memory Disclosure
Weaknesses CWE-125
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Aug 11, 2026, 8:26 PM
Reserved
Aug 3, 2026, 3:52 PM
Status
Analyzed
Published
Aug 11, 2026, 7:17 PM
Modified
Oct 23, 2026, 9:10 PM