{"id":"CVE-2026-1849","state":"PUBLISHED","title":"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.","publishedAt":"2026-02-10T18:52:52.737Z","updatedAt":"2026-02-10T19:17:02.296Z","severity":{"score":7.1,"label":"High","version":"4.0","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","source":"mongodb"},"assigner":"mongodb","products":["MongoDB Inc MongoDB Server"],"affected":[{"vendor":"MongoDB Inc","product":"MongoDB Server","defaultStatus":"unaffected","versions":[{"version":"8.0","status":"affected","lessThan":"8.0.18","versionType":"semver"},{"version":"7.0","status":"affected","lessThan":"7.0.29","versionType":"semver"},{"version":"8.2","status":"affected","lessThan":"8.2.2","versionType":"semver"}]}],"references":["https://jira.mongodb.org/browse/SERVER-102364"],"weaknesses":["CWE-674"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/1xxx/CVE-2026-1849.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-1849","state":"PUBLISHED","datePublished":"2026-02-10T18:52:52.737Z","dateUpdated":"2026-02-10T19:17:02.296Z","assignerShortName":"mongodb","assignerOrgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateReserved":"2026-02-03T18:21:52.859Z"},"containers":{"cna":{"title":"Mongod can run out of stack memory when expressions create deeply nested documents","descriptions":[{"lang":"en","value":"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":[{"vendor":"MongoDB Inc","product":"MongoDB Server","defaultStatus":"unaffected","versions":[{"version":"8.0","status":"affected","lessThan":"8.0.18","versionType":"semver"},{"version":"7.0","status":"affected","lessThan":"7.0.29","versionType":"semver"},{"version":"8.2","status":"affected","lessThan":"8.2.2","versionType":"semver"}]}],"references":[{"url":"https://jira.mongodb.org/browse/SERVER-102364"}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":7.1,"baseSeverity":"HIGH","exploitMaturity":"NOT_DEFINED","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-674","description":"CWE-674 Uncontrolled Recursion","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mongodb","orgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateUpdated":"2026-02-10T18:52:52.737Z"},"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.5.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-10T19:16:27.778333Z","id":"CVE-2026-1849","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-10T19:17:02.296Z"}}]}}}