CVE-2026-13077CWE-125

CVE-2026-13077

High · published July 23, 2026

CVSS v3.1
7.1
EPSS
0%
Percentile
35.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00421 · 35.3th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2026-07-23T00:16Z
Affected products (4)
ProductVersionsFixed in
mongodb/mongodb≥ 7.0.0, < 7.0.397.0.39
mongodb/mongodb≥ 8.0.0, < 8.0.288.0.28
mongodb/mongodb≥ 8.2.0, < 8.2.128.2.12
mongodb/mongodb≥ 8.3.0, < 8.3.78.3.7
References (1)
EPSS history
Timeline
  • 22 JUL 19:12Z
    Out-of-Bounds Heap Read in BSON CodeWScope Element Parsing via Malformed BSONColumn Data
    cvelistv5