CVE Catalog

CVE-2026-96297

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Summary

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. Query results returned to the client may contain unrelated data from the server process, and the server process may also terminate unexpectedly.

Risk Assessment

Unrelated server memory data may leak into query results or the process may terminate unexpectedly, posing confidentiality and availability risks.

Recommendation

Update MongoDB Server to a version containing the fix and restrict read privileges to the minimum necessary.

Other vulnerabilities in MongoDB Server

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS