Heap-based buffer overflow in MongoDB Server - CVE-2026-13072

 

Heap-based buffer overflow in MongoDB Server - CVE-2026-13072

Published: August 18, 2026


Vulnerability identifier: #VU144111
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-13072
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause memory corruption.

The vulnerability exists due to improper input validation in aggregation pipeline processing when processing externally sourced BSON data in compute mode on a standalone mongod instance. A remote attacker can send specially crafted BSON data to cause memory corruption.

This issue is exposed only when compute mode is explicitly enabled on a standalone mongod instance.


Affected software

MongoDB Server

How to mitigate CVE-2026-13072

Install security update from vendor's website.

MongoDB Server - addressed in versions 7.0.39, 8.0.28, 8.2.12, 8.3.7

External References

Related Security Bulletins