ADVISORIES

Vulnerability

CVE-2026-2303

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.

993 advisories report this vulnerability, across 6 ecosystems.

Advisories in Go

  • GHSA-cp6g-7hqx-qxhp

    mongo-go-driver has Heap Out-of-Bounds Read in GSSAPI Error Handling

    Moderate CVE-2026-2303 Go Updated 10 September 2026
  • GO-2026-5327

    Mongo-go-driver: Heap Out-of-Bounds Read in GSSAPI Error Handling in go.mongodb.org/mongo-driver

    CVE-2026-2303 Go Updated 18 August 2026

References