PoC Monitor
← All CVEs
CVE-2026-13077published 22 Jul 2026 19:12 UTCData: JSON · API

MongoDB Server

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.1high · scored by CNA · CWE-125
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

MongoDB MongoDB Server
  • >= 7.0, < 7.0.39
  • >= 8.0, < 8.0.28
  • >= 8.2.0, < 8.2.12
  • >= 8.3.0, < 8.3.7

Fixed in 7.0.39, 8.0.28, 8.2.12, 8.3.7

Mitigation

Upgrade MongoDB Server to 7.0.39 or 8.0.28 or 8.2.12 or 8.3.7 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published22 Jul 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.