MongoDB Server may disclose process memory via a crafted `$_internalApplyOplogUpdate` aggregation pipeline
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.
CVE-2026-96297
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-96297
MongoDB Server
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "MongoDB",
"product": "MongoDB Server",
"versions": [
{
"status": "affected",
"version": "8.3.0",
"lessThan": "8.3.13",
"versionType": "semver"
},
{
"status": "affected",
"version": "8.0",
"lessThan": "8.0.34",
"versionType": "semver"
},
{
"status": "affected",
"version": "7.0",
"lessThan": "7.0.45",
"versionType": "semver"
},
{
"status": "affected",
"version": "9.0",
"lessThan": "9.0.2",
"versionType": "semver"
}
],
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-96297
Source reference:
/cveMetadata/cveId
Publisher severity
medium
Source reference: /containers/cna/metrics
- Event
- #20408 · Revision 1
- Added to Heist Feed
- Publisher date