CVEvulnerability

CVE-2026-13077

7.1 HIGH Published 2026-07-22 Modified 2026-10-24 Official page ↗
Status
Analyzed
Published
2026-07-22
Last modified
2026-10-24
Assigner
[email protected]
CVSS 4.0 ([email protected])
7.1 HIGH — CVSS: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
CVSS 3.1 ([email protected])
7.1 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
Weaknesses
CWE-125

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.

Affected configurations

• mongodb mongodb (>= 7.0.0 < 7.0.39) • mongodb mongodb (>= 8.0.0 < 8.0.28) • mongodb mongodb (>= 8.2.0 < 8.2.12) • mongodb mongodb (>= 8.3.0 < 8.3.7)

Related

Weakness · CWE (1)

  • CWE-125 Out-of-bounds Read weakness

References