Skip to main content
← All vulnerabilities
CVE-2026-1849

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.0.18, 7.0.29, 8.2.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • MongoDB Inc MongoDB Server

    From 8.0 · fixed in 8.0.18; From 7.0 · fixed in 7.0.29; From 8.2 · fixed in 8.2.2

References 1

jira.mongodb.org