{"id":"CVE-2026-2303","aliases":["CVE-2026-2303","GHSA-cp6g-7hqx-qxhp","GO-2026-5327"],"related":["CGA-qpqr-6vcg-2g85"],"kind":"vulnerability","state":"published","title":"Heap Out-of-Bounds Read in Go Driver GSSAPI C Wrappers enables application crash or information leak","summary":"The mongo-go-driver repository contains CGo bindings for GSSAPI (Kerberos) authentication on Linux and macOS. The C wrapper implementation contains a heap out-of-bounds read vulnerability due to incorrect assumptions about string termination in the GSSAPI standard. Since GSSAPI buffers are not guaranteed to be null-terminated or have extra padding, this results in reading one byte past the allocated heap buffer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The mongo-go-driver repository contains CGo bindings for GSSAPI (Kerberos) authentication on Linux and macOS. The C wrapper implementation contains a heap out-of-bounds read vulnerability due to incorrect assumptions about string termination in the GSSAPI standard. Since GSSAPI buffers are not guaranteed to be null-terminated or have extra padding, this results in reading one byte past the allocated heap buffer.","source":"cvelist"},{"lang":"en","text":"Mongo-go-driver: Heap Out-of-Bounds Read in GSSAPI Error Handling in go.mongodb.org/mongo-driver","format":"markdown","source":"go"},{"lang":"es","text":"El repositorio mongo-go-driver contiene enlaces CGo para la autenticación GSSAPI (Kerberos) en Linux y macOS. La implementación del wrapper de C contiene una vulnerabilidad de lectura fuera de límites del heap debido a suposiciones incorrectas sobre la terminación de cadenas en el estándar GSSAPI. Dado que no se garantiza que los búferes GSSAPI estén terminados en nulo o que tengan relleno adicional, esto resulta en la lectura de un byte más allá del búfer del heap asignado.","source":"nvd"}],"published":"2026-02-10T19:03:06.737Z","modified":"2026-09-10T03:50:59.479Z","severity":{"scorer":"mongodb","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"mongodb","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},{"scorer":"mongodb","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-183"],"affected":[{"ranges":[{"type":"semver","introduced":"1.0.0","fixed":"1.17.7","status":"affected"},{"type":"semver","introduced":"2.0.0","fixed":"2.4.2","status":"affected"}],"vendor":"MongoDB Inc","product":"MongoDB Go Driver","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.17.7"}],"ecosystem":"Go","package":"go.mongodb.org/mongo-driver","purl":"pkg:golang/go.mongodb.org/mongo-driver","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.4.2"}],"ecosystem":"Go","package":"go.mongodb.org/mongo-driver/v2","purl":"pkg:golang/go.mongodb.org/mongo-driver/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.17.7"}],"ecosystem":"Go","package":"go.mongodb.org/mongo-driver","purl":"pkg:golang/go.mongodb.org/mongo-driver","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.4.2"}],"ecosystem":"Go","package":"go.mongodb.org/mongo-driver/v2","purl":"pkg:golang/go.mongodb.org/mongo-driver/v2","source":"go"}],"references":[{"url":"https://jira.mongodb.org/browse/GODRIVER-3770","tags":["web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-2303","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mongodb/mongo-go-driver","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-cp6g-7hqx-qxhp","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mongodb","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-02-11T15:16:06.075Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-2303","url":"https://www.cve.org/CVERecord?id=CVE-2026-2303","licence":"CVE Terms of Use","modified":"2026-02-11T15:16:15.789Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cp6g-7hqx-qxhp","url":"https://github.com/advisories/GHSA-cp6g-7hqx-qxhp","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:59.479Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5327","url":"https://pkg.go.dev/vuln/GO-2026-5327","licence":"CC-BY-4.0","modified":"2026-08-18T16:27:02.119Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-2303","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-2303","licence":"Public domain","modified":"2026-06-17T10:30:45.163Z"}],"updatedAt":"2026-11-25T22:59:13.755Z","epss":{"score":0.00314,"percentile":0.26208,"date":"2026-12-01T12:00:22.000Z"}}