← CVE Intelligence

CVE-2026-13077

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

Description (CNA)

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 (CNA)

Vendor / productVersions
MongoDB / MongoDB Serveraffected 7.0 before 7.0.39; affected 8.0 before 8.0.28; affected 8.2.0 before 8.2.12; affected 8.3.0 before 8.3.7

CWE

CWE-125

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.