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. 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
Link Resource
https://jira.mongodb.org/browse/SERVER-129103 Vendor Advisory Patch
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-07-22 20:16

Updated : 2026-08-18 16:11


NVD link : CVE-2026-13077

Mitre link : CVE-2026-13077

CVE.ORG link : CVE-2026-13077


JSON object : View

Products Affected

mongodb

  • mongodb
CWE
CWE-125

Out-of-bounds Read