---
id: CVE-2026-18711
title: >-
  An issue in MongoDB Server's query execution engine could allow an
  authenticated user with read and write privileges to cause an internal
  reference to be used after the underlying memory has been freed, when running
  certain queries again…
summary: >-
  An issue in MongoDB Server's query execution engine could allow an
  authenticated user with read and write privileges to cause an internal
  reference to be used after the underlying memory has been freed, when running
  certain queries again…
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-416
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-25'
sourceUpdated: '2026-09-25T15:35:43.637'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-18711'
references:
  - url: 'https://jira.mongodb.org/browse/SERVER-130247'
    label: cna@mongodb.com
tags:
  - nvd
epss: 0.00473
epssPercentile: 0.38304
ingestedAt: '2026-08-29T19:41:16.293Z'
---

## Overview

An issue in MongoDB Server's query execution engine could allow an authenticated user with read and write privileges to cause an internal reference to be used after the underlying memory has been freed, when running certain queries against time-series collections. This could result in a server crash or disclosure of freed memory contents within query results.

## 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`
