Heap Out-of-Bounds Read in Go Driver GSSAPI C Wrappers enables application crash or information leak
cve-program · CVE-2026-2303
PublishedThe 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.
Read the publisher's advisoryeuvd · EUVD-2026-7065
PublishedThe 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.
Read the publisher's advisorynvd · CVE-2026-2303
PublishedThe 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.
Read the publisher's advisoryosv · GHSA-cp6g-7hqx-qxhp
PublishedThe 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.
Read the publisher's advisoryosv · GO-2026-5327
PublishedMongo-go-driver: Heap Out-of-Bounds Read in GSSAPI Error Handling in go.mongodb.org/mongo-driver
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-2303 · CVE overview and exploitation status
cve-program · CVE-2026-2303
euvd · EUVD-2026-7065
nvd · CVE-2026-2303
osv · GHSA-cp6g-7hqx-qxhp
- https://nvd.nist.gov/vuln/detail/CVE-2026-2303
- https://github.com/mongodb/mongo-go-driver
- https://jira.mongodb.org/browse/GODRIVER-3770
osv · GO-2026-5327
Related changes
Linked by CVE identifierNo related changes are available here.