CVE-2026-120803
published high CVSS 4.0 · 7.1MongoDB SBE $locf Window Accumulator Use-After-Free Enables Heap OOB Read and Server Crash
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB | — | MongoDB Server9.0.0 to < 9.0.7 · 8.3.0 to < 8.3.16 · Other versions: unaffected | Affected | Not stated | mongodb |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- mongodb · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.1 | high | mongodb · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB | MongoDB Server | 9.0.0 to < 9.0.7 (affected · semver)8.3.0 to < 8.3.16 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-416 CWE-416: Use After Free
References
1Provider assertions
2mongodb · cna
MongoDB SBE $locf Window Accumulator Use-After-Free Enables Heap OOB Read and Server Crash
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1003fa7831d5992c98b9f33867871c256588307dfa1b3760283b9e6de4460d73
- Ingested
- 13 Nov 2026, 19:50:50 UTC
- Source record
- Official CVE record