Security Advisory

CVE-2026-13077

CVE vulnerability detail - eXtreme Datacenter Security Operations

Published 2026-07-22 19:12:11
Last updated 2026-07-23 14:19:15
Assigner mongodb
CVSS score 7.1
State PUBLISHED

Description

A missing bounds check in the BSON CodeWScope element accessors allows an attacker to trigger an out-of-bounds heap read via a crafted aggregation pipeline. The vulnerability can be exploited by an authenticated user by generating a malformed BSONColumn data containing a CodeWScope element, bypassing wire-level BSON validation. When the forged element is decompressed, the unchecked size value is used in pointer arithmetic, causing either a server crash or disclosure of adjacent heap memory contents.