{"id":"CVE-2026-13077","aliases":["CVE-2026-13077","BIT-MONGODB-2026-13077"],"related":[],"kind":"vulnerability","state":"published","title":"Out-of-Bounds Heap Read in BSON CodeWScope Element Parsing via Malformed BSONColumn Data","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Una comprobación de límites faltante en los accesores del elemento BSON CodeWScope permite a un atacante activar una lectura de pila fuera de límites a través de una pipeline de agregación manipulada. La vulnerabilidad puede ser explotada por un usuario autenticado generando datos BSONColumn malformados que contengan un elemento CodeWScope, eludiendo la validación BSON a nivel de cable. Cuando el elemento falsificado es descomprimido, el valor de tamaño no verificado se utiliza en aritmética de punteros, causando un fallo del servidor o la divulgación del contenido de la memoria de pila adyacente.","source":"nvd"}],"published":"2026-07-22T19:12:11.370Z","modified":"2026-10-24T13:10:00.147Z","severity":{"scorer":"mongodb","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"mongodb","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},{"scorer":"mongodb","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H","score":7.1,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"semver","introduced":"7.0","fixed":"7.0.39","status":"affected"},{"type":"semver","introduced":"8.0","fixed":"8.0.28","status":"affected"},{"type":"semver","introduced":"8.2.0","fixed":"8.2.12","status":"affected"},{"type":"semver","introduced":"8.3.0","fixed":"8.3.7","status":"affected"}],"vendor":"MongoDB","product":"MongoDB Server","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"7.0.0","fixed":"7.0.39"},{"status":"affected","introduced":"8.0.0","fixed":"8.0.28"},{"status":"affected","introduced":"8.2.0","fixed":"8.2.12"},{"status":"affected","introduced":"8.3.0","fixed":"8.3.7"}],"vendor":"mongodb","product":"mongodb","cpe":"cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.0.39"},{"type":"semver","introduced":"8.0.0","status":"affected","fixed":"8.0.28"},{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.12"},{"type":"semver","introduced":"8.3.0","status":"affected","fixed":"8.3.7"}],"ecosystem":"Bitnami","package":"mongodb","purl":"pkg:bitnami/mongodb","source":"bitnami"}],"references":[{"url":"https://jira.mongodb.org/browse/SERVER-129103","tags":["advisory","patch","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13077","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"mongodb","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-23T14:19:07.572Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-13077","url":"https://www.cve.org/CVERecord?id=CVE-2026-13077","licence":"CVE Terms of Use","modified":"2026-07-23T14:19:15.392Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-13077","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13077","licence":"Public domain","modified":"2026-10-24T13:10:00.147Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MONGODB-2026-13077","url":"https://osv.dev/vulnerability/BIT-MONGODB-2026-13077","licence":"Apache-2.0","modified":"2026-09-08T08:48:14.337Z"}],"updatedAt":"2026-11-25T22:59:29.850Z","epss":{"score":0.00277,"percentile":0.21629,"date":"2026-12-01T12:00:22.000Z"}}