# CVE-2026-2303: Heap Out-of-Bounds Read in Go Driver GSSAPI C Wrappers enables application crash or information leak

- Severity: Medium 6.9 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-02-10T19:03:06.737Z
- Modified: 2026-09-10T03:50:59.479Z
- Also known as: GHSA-cp6g-7hqx-qxhp, GO-2026-5327
- Related: CGA-qpqr-6vcg-2g85
- Weaknesses: CWE-183
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## Description

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.

(As written by CVE List.)

## Affected

- MongoDB Inc MongoDB Go Driver: from 1.0.0 before 1.17.7; from 2.0.0 before 2.4.2
- go.mongodb.org/mongo-driver (Go): before 1.17.7
- go.mongodb.org/mongo-driver/v2 (Go): before 2.4.2

## Every score

- mongodb: CVSS:4.0 6.9 Medium `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`
- mongodb: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://jira.mongodb.org/browse/GODRIVER-3770> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-2303> (advisory)
- <https://github.com/mongodb/mongo-go-driver> (package)
- <https://github.com/advisories/GHSA-cp6g-7hqx-qxhp> (advisory)

## Sources

- CVE List: [CVE-2026-2303](https://www.cve.org/CVERecord?id=CVE-2026-2303), CVE Terms of Use, modified 2026-02-11
- GitHub Advisory Database: [GHSA-cp6g-7hqx-qxhp](https://github.com/advisories/GHSA-cp6g-7hqx-qxhp), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-5327](https://pkg.go.dev/vuln/GO-2026-5327), CC-BY-4.0, modified 2026-08-18
- NVD: [CVE-2026-2303](https://nvd.nist.gov/vuln/detail/CVE-2026-2303), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-2303 · Whole record: https://cve.day/CVE-2026-2303.json · Rebuilt by cve.day 2026-11-25T22:59:13.755Z
