CVE-2026-13077: Out-of-Bounds Heap Read in BSON CodeWScope Element Parsing via Malformed BSONColumn Data

Published Jul 22, 2026
·
Updated

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 Software

1 affected component
MongoDB BSON

Event History

Jul 22, 2026
CVE Published
via MITRE·07:12 PM
Data Sourced
via MITRE·07:12 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-13077?

The severity of CVE-2026-13077 is rated as high with a score of 7.1.

2

How do I fix CVE-2026-13077?

To fix CVE-2026-13077, ensure that you update to the latest version of MongoDB BSON that addresses this vulnerability.

3

What type of vulnerability is CVE-2026-13077?

CVE-2026-13077 is an out-of-bounds heap read vulnerability caused by a missing bounds check in BSON CodeWScope element parsing.

4

Who can exploit CVE-2026-13077?

CVE-2026-13077 can be exploited by authenticated users who generate malformed BSONColumn data containing a CodeWScope element.

5

What impact does CVE-2026-13077 have on MongoDB?

CVE-2026-13077 can lead to potential information disclosure due to an out-of-bounds heap read, affecting the confidentiality of the system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203