Use-after-free in MongoDB SBE window accumulator enables heap over-read
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
A use-after-free in MongoDB Server's SBE (Slot-Based Execution) window function accumulator, used by certain $setWindowFields aggregation pipelines, affects versions from 9.0.0 before 9.0.7 and from 8.3.0 before 8.3.16. Under specific conditions the accumulator keeps a dangling pointer to freed memory, classified as CWE-416. An authenticated user with readWrite privileges on a database can trigger it with a crafted aggregation pipeline, causing a heap out-of-bounds read that may expose adjacent heap contents and crash the mongod server.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade MongoDB Server to 9.0.7 or 8.3.16.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · CNA MongoDB Server (MongoDB) Fixed in 9.0.7, 8.3.16
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
MongoDB Server 8.3.16, 9.0.7
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2026-89286 MongoDB Server crash from uncontrolled recursion in time-series queriesPriority LOW 27
Timeline
- 2026-11-10 Threatist record created from CVE-2026-120803
- 2026-11-10 Alias added: GHSA-xqmg-xhh6-75p8
- 2026-11-12 Priority changed: MEDIUM → LOW
- 2026-11-13 CISA SSVC decision points changed
References
More MongoDB vulnerabilities
- TI-2019-08023 Remote code execution in mongo-express via toBSON endpoints KEVCVSS 3.1CRITICAL 9.9
- TI-2025-13542 Zlib header length mismatch in MongoDB Server allows memory read KEVCVSS 4.0HIGH 8.7
- TI-2026-89295 MongoDB Server Missing Authorization Check in Replication Administrative Command CVSS 4.0HIGH 8.6
- TI-2026-89289 Incorrect authorization in MongoDB Server allows admin access CVSS 4.0HIGH 8.6
- TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
- TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-120803 · CVE Program
- CVE-2026-120803 · NVD
- FIRST EPSS
- GHSA-xqmg-xhh6-75p8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences