CVE-2026-1849

published 10 Feb 2026 · updated 10 Feb 2026

Mongod can run out of stack memory when expressions create deeply nested documents

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Server 7.0.29, Server 8.0.18 and Server 8.2.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBServer>=7.0 <7.0.29, >=8.0 <8.0.18, >=8.2 <8.2.27.0.29, 8.0.18, 8.2.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-1849 severity on Zeptric[![CVE-2026-1849](https://zeptric.io/badge/cve/CVE-2026-1849.svg)](https://zeptric.io/cve/CVE-2026-1849)