What’s Vulnerable › Vulnerabilities
CVE-2026-96297: MongoDB Server may disclose process memory via a crafted `$_internalApplyOplogUpdate` aggregation pipeline
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-13 · updated 2026-10-15
- Weakness: CWE-416
Description
Use of freed memory in the aggregation feature of MongoDB Server can cause the server to read data from a memory area after it has been released. When an internal aggregation stage is combined with a batch size of 0, the server may read from memory that is no longer in use. Because that memory can be reused for other data before it is read, query results returned to the client may contain unrelated data from the server process. Depending on the state of memory at the time, the server process may also terminate unexpectedly. The behavior can occur when an authenticated user with read privileges runs an aggregate command that combines these two settings.
Affected products
- MongoDB: from 8.3.0 before 8.3.13; from 8.0 before 8.0.34; from 7.0 before 7.0.45; from 9.0 before 9.0.2 — fixed in 7.0.45, 8.0.34, 8.3.13, 9.0.2
How to fix
Upgrade to a fixed version: MongoDB 7.0.45, 8.0.34, 8.3.13, 9.0.2. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-96297 or the next vulnerability affects your stack