CVE-2026-13077

HIGH

Out-of-Bounds Heap Read in BSON CodeWScope Element Parsing via Malformed BSONColumn Data

Title source: cna
STIX 2.1

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.

References (1)

Core 1

Scores

CVSS v3 7.1
EPSS 0.0024
EPSS Percentile 15.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-125
Status published
Products (4)
MongoDB/MongoDB Server 7.0 - 7.0.39
MongoDB/MongoDB Server 8.0 - 8.0.28
MongoDB/MongoDB Server 8.2.0 - 8.2.12
MongoDB/MongoDB Server 8.3.0 - 8.3.7
Published Jul 22, 2026
Tracked Since Jul 23, 2026