Skip to content
CVE PROGRAM SOURCE RECORD7.1 High

CVE-2026-1849

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

MongoDB Inc MongoDB Server

Default version status: unaffected

  • 8.0 to < 8.0.18affected
  • 7.0 to < 7.0.29affected
  • 8.2 to < 8.2.2affected

References