{"id":"CVE-2026-13077","published":"2026-07-22T19:12:11Z","modified":"2026-07-23T14:19:15Z","title":"Out-of-Bounds Heap Read in BSON CodeWScope Element Parsing via Malformed BSONColumn Data","vendor":"MongoDB","product":"MongoDB Server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00277,"percentile":0.20655,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://jira.mongodb.org/browse/SERVER-129103","tags":[]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":4.13},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"mongodb","affectedVersions":[{"vendor":"MongoDB","product":"MongoDB Server","versions":[">= 7.0, < 7.0.39",">= 8.0, < 8.0.28",">= 8.2.0, < 8.2.12",">= 8.3.0, < 8.3.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-23T14:19:07.572032Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-47784","exploited":false,"provenance":"source"}}