---
id: CVE-2026-18688
title: >-
  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
summary: >-
  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 …
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H'
cwe:
  - CWE-125
vendor: mongodb
product: mongodb
affected:
  - 'mongodb >= 7.0.0, < 7.0.40'
  - 'mongodb >= 8.0.0, < 8.0.29'
  - 'mongodb >= 8.2.0, <= 8.2.12'
  - 'mongodb >= 8.3.0, < 8.3.8'
  - mongodb = 9.0.0
  - mongodb = 9.1.0
patched:
  - mongodb 8.3.8
published: '2026-08-11'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T15:14:18.697'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-18688'
references:
  - url: 'https://jira.mongodb.org/browse/SERVER-129617'
    label: cna@mongodb.com
tags:
  - nvd
epss: 0.00399
epssPercentile: 0.31338
ingestedAt: '2026-08-29T19:41:15.442Z'
---

## Overview

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.

## Affected

- `mongodb >= 7.0.0, < 7.0.40`
- `mongodb >= 8.0.0, < 8.0.29`
- `mongodb >= 8.2.0, <= 8.2.12`
- `mongodb >= 8.3.0, < 8.3.8`
- `mongodb = 9.0.0`
- `mongodb = 9.1.0`

## Remediation

Upgrade past the affected range:

- `mongodb 8.3.8`
