{"id":"CVE-2026-120803","state":"PUBLISHED","title":"MongoDB SBE $locf Window Accumulator Use-After-Free Enables Heap OOB Read and Server Crash","description":"A use-after-free issue exists in MongoDB’s SBE (Slot-Based Execution) implementation of a window function accumulator used by certain $setWindowFields aggregation pipelines. Under specific conditions, the accumulator can retain a dangling pointer to memory that has since been freed. When this stale pointer is later dereferenced during serialization of the carried-forward value, it can result in a heap out-of-bounds read that may expose adjacent heap contents and crash the mongod server. An authenticated user with readWrite privileges on a database can trigger this issue by crafting a specific aggregation pipeline.","publishedAt":"2026-11-10T20:02:53.682Z","updatedAt":"2026-11-13T19:48:02.366Z","severity":{"score":7.1,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","source":"mongodb"},"assigner":"mongodb","products":["MongoDB MongoDB Server"],"affected":[{"vendor":"MongoDB","product":"MongoDB Server","defaultStatus":"unaffected","versions":[{"version":"9.0.0","status":"affected","lessThan":"9.0.7","versionType":"semver"},{"version":"8.3.0","status":"affected","lessThan":"8.3.16","versionType":"semver"}]}],"references":["https://jira.mongodb.org/browse/SERVER-135180"],"weaknesses":["CWE-416"],"ingestedAt":"2026-11-13T19:52:06.785Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/120xxx/CVE-2026-120803.json","commit":"b5a30253a1b5c88b4743fe61960e9d4d8802968c","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-120803","state":"PUBLISHED","datePublished":"2026-11-10T20:02:53.682Z","dateUpdated":"2026-11-13T19:48:02.366Z","assignerShortName":"mongodb","assignerOrgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateReserved":"2026-11-02T22:54:09.274Z"},"containers":{"cna":{"title":"MongoDB SBE $locf Window Accumulator Use-After-Free Enables Heap OOB Read and Server Crash","descriptions":[{"lang":"en","value":"A use-after-free issue exists in MongoDB’s SBE (Slot-Based Execution) implementation of a window function accumulator used by certain $setWindowFields aggregation pipelines. Under specific conditions, the accumulator can retain a dangling pointer to memory that has since been freed. When this stale pointer is later dereferenced during serialization of the carried-forward value, it can result in a heap out-of-bounds read that may expose adjacent heap contents and crash the mongod server. An authenticated user with readWrite privileges on a database can trigger this issue by crafting a specific aggregation pipeline."}],"affected":[{"vendor":"MongoDB","product":"MongoDB Server","defaultStatus":"unaffected","versions":[{"version":"9.0.0","status":"affected","lessThan":"9.0.7","versionType":"semver"},{"version":"8.3.0","status":"affected","lessThan":"8.3.16","versionType":"semver"}]}],"references":[{"url":"https://jira.mongodb.org/browse/SERVER-135180"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":7.1,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"HIGH","baseSeverity":"HIGH","baseScore":7.1,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","lang":"en","description":"CWE-416: Use After Free","type":"CWE"}]}],"providerMetadata":{"shortName":"mongodb","orgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateUpdated":"2026-11-10T20:02:53.682Z"},"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"cve_record_builder.py"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-13T19:47:51.198952Z","id":"CVE-2026-120803","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-11-13T19:48:02.366Z"}}]}}}