cbcvebase.
CVE-2026-13077
published 2026-07-22

CVE-2026-13077: 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…

PriorityP338high7.1CVSS 3.1
AVNACLPRLUINSUCLINAH
EPSS
0.42%
35.3th percentile
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.

Affected

8 ranges
VendorProductVersion rangeFixed in
mongodbmongodb>= 7.0.0 < 7.0.397.0.39
mongodbmongodb>= 8.0.0 < 8.0.288.0.28
mongodbmongodb>= 8.2.0 < 8.2.128.2.12
mongodbmongodb>= 8.3.0 < 8.3.78.3.7
mongodbmongodb_server>= 7.0 < 7.0.397.0.39
mongodbmongodb_server>= 8.0 < 8.0.288.0.28
mongodbmongodb_server>= 8.2.0 < 8.2.128.2.12
mongodbmongodb_server>= 8.3.0 < 8.3.78.3.7

CVSS provenance

nvdv3.17.1HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
nvdv4.07.1HIGHCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.