{"id":"CVE-2026-120803","aliases":["CVE-2026-120803"],"related":[],"kind":"vulnerability","state":"published","title":"MongoDB SBE $locf Window Accumulator Use-After-Free Enables Heap OOB Read and Server Crash","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-10T20:02:53.682Z","modified":"2026-11-13T20:18:00.110Z","severity":{"scorer":"mongodb","scheme":"CVSS: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","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"mongodb","scheme":"CVSS: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","score":7.1,"rating":"HIGH"},{"scorer":"mongodb","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"semver","introduced":"9.0.0","fixed":"9.0.7","status":"affected"},{"type":"semver","introduced":"8.3.0","fixed":"8.3.16","status":"affected"}],"vendor":"MongoDB","product":"MongoDB Server","source":"cvelist"}],"references":[{"url":"https://jira.mongodb.org/browse/SERVER-135180","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mongodb","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-13T19:47:51.198Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120803","url":"https://www.cve.org/CVERecord?id=CVE-2026-120803","licence":"CVE Terms of Use","modified":"2026-11-13T19:48:02.366Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120803","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120803","licence":"Public domain","modified":"2026-11-13T20:18:00.110Z"}],"updatedAt":"2026-11-25T22:59:50.203Z","epss":{"score":0.00464,"percentile":0.41906,"date":"2026-12-01T12:00:22.000Z"}}