CVE-2026-96297

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

State
Published
Severity
6.0 Medium
Published
Oct 13, 2026
Updated
Oct 13, 2026
Reserved
Sep 22, 2026

Read the record on cve.org

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.

Scores

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

Weaknesses

Affected Products

ProductVersions
MongoDB ServerMongoDB
  • 8.3.0 to before 8.3.13Affected
  • 8.0 to before 8.0.34Affected
  • 7.0 to before 7.0.45Affected
  • 9.0 to before 9.0.2Affected

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.