Vulnerability · Published Feb 10, 2026 · Assigned by mongodb

CVE-2026-1849Mongod can run out of stack memory when expressions create deeply nested documents

Medium 6.5

In plain English

A medium-severity security flaw in MongoDB Server from MongoDB Inc. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities).

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.3%top 74.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected products (as reported)

VendorProductVersions
MongoDB Inc MongoDB Server 8.0 – before 8.0.187.0 – before 7.0.298.2 – before 8.2.2

Weakness: CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References