{
  "id": "CVE-2026-120803",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-120803",
  "published_at": "2026-11-10T20:02:53.682Z",
  "title": "MongoDB SBE $locf Window Accumulator Use-After-Free Enables Heap OOB Read and Server Crash",
  "vendor": "MongoDB",
  "product": "MongoDB Server",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-416",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "MongoDB",
        "product": "MongoDB Server",
        "ranges": [
          "\u003e= 9.0.0, \u003c 9.0.7",
          "\u003e= 8.3.0, \u003c 8.3.16"
        ],
        "fixed_in": [
          "9.0.7",
          "8.3.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade MongoDB Server to 9.0.7 or 8.3.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
