All vulnerabilities
CVE-2026-96297

MongoDB Server may disclose process memory via a crafted `$_internalApplyOplogUpdate` aggregation pipeline

MongoDB MongoDB ServerDatabases
CVSS
6.0Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.24%Chance of exploitation activity in the next 30 days, higher than 14% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in8.3.13Also 8.0.34, 7.0.45 and 1 moreCVE List
Published13 Oct 2026Updated 13 Oct 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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.

Text from CVE List

Affected versions 4

  • MongoDB Serveraffected: 8.3.0 before 8.3.13CVE List
  • MongoDB Serveraffected: 8.0 before 8.0.34CVE List
  • MongoDB Serveraffected: 7.0 before 7.0.45CVE List
  • MongoDB Serveraffected: 9.0 before 9.0.2CVE List

References 1