CVE-2026-1849Published Feb 10, 2026 · Feb 10Updated Oct 28
Mongod can run out of stack memory when expressions create deeply nested documents
MongoDB Inc MongoDB Server
High7.1
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| MongoDB Inc MongoDB Server |
| No fix yet |
Original description
MongoDB Server may experience an out-of-memory failure while evaluating expressions that produce deeply nested documents. The issue arises in recursive functions because the server does not periodically check the depth of the expression.
From the CVE record · mongodb