Skip to main content
← All vulnerabilities
CVE-2026-2303GO-2026-5327GHSA-CP6G-7HQX-QXHP

Heap Out-of-Bounds Read in Go Driver GSSAPI C Wrappers enables application crash or information leak

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.17.7, 2.4.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • MongoDB Inc MongoDB Go Driver

    From 1.0.0 · fixed in 1.17.7; From 2.0.0 · fixed in 2.4.2

  • go.mongodb.org/mongo-driverGo

    fixed in 1.17.7

  • go.mongodb.org/mongo-driver/v2Go

    fixed in 2.4.2

References 1

jira.mongodb.org