CVE-2026-13077
Received Received - Intake

Heap Out-of-Bounds Read in MongoDB BSON Parser

Vulnerability report for CVE-2026-13077, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-22

Last updated on: 2026-07-22

Assigner: MongoDB, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-22
Last Modified
2026-07-22
Generated
2026-07-23
AI Q&A
2026-07-22
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
mongodb bson *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves a missing bounds check in the BSON CodeWScope element accessors. An attacker can exploit it by creating a malformed BSONColumn data with a CodeWScope element, bypassing wire-level BSON validation. When decompressed, the unchecked size value leads to out-of-bounds heap read, causing server crashes or exposing adjacent heap memory.

Impact Analysis

An attacker could crash the server or read sensitive memory contents. This may lead to denial of service, information disclosure, or potential further exploitation depending on the exposed data.

Compliance Impact

This vulnerability could lead to unauthorized data access or disclosure, violating GDPR's data protection principles and HIPAA's confidentiality requirements. Organizations may face compliance breaches, legal penalties, and reputational damage if exploited.

Mitigation Strategies

Update MongoDB to the latest patched version immediately to address the missing bounds check in BSON CodeWScope element accessors. Ensure wire-level BSON validation is enforced and restrict authenticated user access to trusted sources only.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-13077. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart