Out-of-Bounds Heap Read in BSON CodeWScope Element Parsing via Malformed BSONColumn Data
cve-program · CVE-2026-13077
PublishedA 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-13077 · CVE overview and exploitation status
cve-program · CVE-2026-13077
Related changes
Linked by CVE identifierNo related changes are available here.