CVE-2026-13077

HIGHCVSS 7.1/10EPSS 0.24%

Last modified

CVE-2026-13077 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. EPSS estimates a 0.24% chance of exploitation in the next 30 days.

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.

Metrics

Weakness Enumeration

Affected Software

VendorProductVersions
MongodbMongodb>= 7.0.0, < 7.0.39
MongodbMongodb>= 8.0.0, < 8.0.28
MongodbMongodb>= 8.2.0, < 8.2.12
MongodbMongodb>= 8.3.0, < 8.3.7

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is 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.
How severe is CVE-2026-13077?
CVE-2026-13077 has a CVSS score of 7.1/10 (HIGH severity). The EPSS model estimates a 0.24% probability of exploitation in the next 30 days.
How do I fix CVE-2026-13077?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-13077?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST