CVE-2026-9749

Using MaxKey() may crash the server

State
Published
Severity
7.1 High
Published
Jun 9, 2026
Updated
Jun 10, 2026
Reserved
May 27, 2026

Read the record on cve.org

Description

This issue can occur when running an aggregation pipeline that uses the internal $exchange stage configured with key-range partitioning and order-preserving delivery. If a single key range produces enough documents to fill its exchange buffer (that is, many results are routed to the same consumer), the server reaches the code path where a full per-consumer buffer is detected but the internal "high watermark" for that key range is not updated as intended.

Scores

CVSSScoreVectorSource
4.07.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:Nmongodb
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:Hmongodb

Weaknesses

Affected Products

ProductVersions
MongoDB ServerMongoDB
  • 8.3.0 to before 8.3.3Affected
  • 8.2.0 to before 8.2.10Affected
  • 8.0.0 to before 8.0.24Affected
  • 7.0.0 to before 7.0.35Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.