CVE-2026-96297: MongoDB Server - Use After Free
- Cve: CVE-2026-96297
- Name: MongoDB Server - Use After Free
- 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.
- Impact: Authenticated users can receive unrelated data or cause server crashes, potentially leading to information disclosure or denial of service.
- Remediation: Update to the latest MongoDB Server version with the fix applied.
- Vulnerability type: use_after_free
- Vulnerability impact: information_disclosure, denial_of_service
- Requirement type: logged_in
- Requirements: Attacker must be authenticated with read privileges
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.00241
- Epss percentile: 0.15251
- Assignee: [email protected]
- Published at: 2026-10-13T16:17:24Z
- Age in days: 42
- Modified at: 2026-10-15T20:38:04Z
- Patch available: yes
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-96297
- Nvd status: awaiting_analysis
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-416 | Use After Free |
Hackerone
- Reports: 1
- Rank: 1156
References
| Url | Source | Tags |
|---|---|---|
| https://jira.mongodb.org/browse/SERVER-132946 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mongodb:mongodb | >= 9.0, < 9.0.2; >= 8.3.0, < 8.3.13; >= 8.0, < 8.0.34; >= 7.0, < 7.0.45 | no | cna_alias | /v1/products/mongodb/mongodb |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Hackerone reports: 1
- Exposed hosts: 159883
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since