Impact
The flaw is a use‑after‑free bug in MongoDB Server’s aggregation engine. When an internal aggregation stage named $_internalApplyOplogUpdate is combined with a batchSize value of zero, the server may read from memory that has already been freed. The data returned to the client can contain arbitrary information that was present in that memory before it was reused, and the server process can terminate unexpectedly, causing a denial of service. This problem exposes sensitive data from the database process and can disrupt service availability.
Affected Systems
The vulnerability affects MongoDB Server. No specific product version information is provided in the CNA data, so all installations of MongoDB Server at the time of discovery may be impacted until a patch is deployed.
Risk and Exploitability
The CVSS score is 6, indicating a medium impact. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers must be authenticated users with read privileges, as they need to execute an aggregate command that configures a batchSize of zero and includes the internal stage. The Likely attack vector is an authenticated remote user who can craft an aggregation query. Eventual exploitation can lead to data exposure and, in some circumstances, a crash of the database service.
OpenCVE Enrichment