CVE-2026-1849
Out-of-Memory Vulnerability in MongoDB Server Expression Evaluation
Publication date: 2026-02-10
Last updated on: 2026-02-25
Assigner: MongoDB, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| mongodb | mongodb | From 7.0.0 (inc) to 7.0.29 (exc) |
| mongodb | mongodb | From 8.0.0 (inc) to 8.0.18 (exc) |
| mongodb | mongodb | From 8.2.0 (inc) to 8.2.2 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-674 | The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs in MongoDB Server when it evaluates expressions that produce deeply nested documents. Specifically, the issue arises in recursive functions because the server does not periodically check the depth of the expression, which can lead to an out-of-memory failure.
How can this vulnerability impact me? :
The vulnerability can cause the MongoDB Server to experience an out-of-memory failure, which may result in a denial of service. This means that the server could crash or become unresponsive when processing certain deeply nested expressions, potentially disrupting applications relying on the database.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
I don't know