HarborGuard / CVE
Back to search
HIGHCVE-2026-1849Published Modified CNA mongodb

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

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.

Metrics

CVSS v4.0
7.1
Severity
HIGH
Fixed in
7.0.29
Affected Products
1

Fix available

7.0.298.0.188.2.2
Affected packages
  • MongoDB Inc / MongoDB Server
    < 8.0.18 (from 8.0) · < 7.0.29 (from 7.0) · < 8.2.2 (from 8.2)
CVSS Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N