Mongod can run out of stack memory when expressions create deeply nested documents
CVE-2026-1849 is fixed in MongoDB on 1 platform by MongoDB 8.0.18 (version 8.0.18), released January 15, 2026. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Windows apps | |||
| MongoDB | 8.0.18 | MongoDB 8.0.18 | Jan 15, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.