{"id":"BIT-mongodb-2026-1849","summary":"Mongod can run out of stack memory when expressions create deeply nested documents","details":"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.","aliases":["CVE-2026-1849"],"modified":"2026-02-26T09:30:17.130845Z","published":"2026-02-26T08:47:41.788Z","database_specific":{"severity":"High","cpes":["cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*"]},"references":[{"type":"WEB","url":"https://jira.mongodb.org/browse/SERVER-102364"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1849"}],"affected":[{"package":{"name":"mongodb","ecosystem":"Bitnami","purl":"pkg:bitnami/mongodb"},"ranges":[{"type":"SEMVER","events":[{"introduced":"7.0.0"},{"fixed":"7.0.29"},{"introduced":"8.0.0"},{"fixed":"8.0.18"},{"introduced":"8.2.0"},{"fixed":"8.2.2"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/mongodb/BIT-mongodb-2026-1849.json"},"severity":[{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}],"schema_version":"1.7.3"}