Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-96297 EUVD-2026-98811GHSA-8hjj-9fm5-xw5g

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

Published Oct 13, 2026 · Updated Oct 13, 2026 · Assigned by mongodb

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

VendorProductAffectedFixed
MongoDB MongoDB Server 8.3.0 – < 8.3.13, 8.0 – < 8.0.34, 7.0 – < 7.0.45, 9.0 – < 9.0.2 8.3.13

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS mongodb No fix yet —
Ubuntu Pro 18.04 LTS mongodb No fix yet —
Ubuntu Pro 16.04 LTS mongodb No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS mongodb No fix yet —

Advisories 1

References