MongoDB Server
Using MaxKey() may crash the server
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.1high · scored by CNA · CWE-617
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
MongoDB MongoDB Server
- >= 8.3.0, < 8.3.3
- >= 8.2.0, < 8.2.10
- >= 8.0.0, < 8.0.24
- >= 7.0.0, < 7.0.35
Fixed in 8.3.3, 8.2.10, 8.0.24, 7.0.35
Mitigation
Upgrade MongoDB Server to 8.3.3 or 8.2.10 or 8.0.24 or 7.0.35 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.