GHSA-cp6g-7hqx-qxhp

    Dashboard / Vulnerabilities / GHSA-cp6g-7hqx-qxhp

    GHSA-cp6g-7hqx-qxhp

    Published: 10 Feb 2026Last Modified: 24 Jul 2026

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

    Details: 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.

    Affected packages

    Package

    Name: go.mongodb.org/mongo-driver

    Purl: pkg:golang/go.mongodb.org/mongo-driver

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.17.7

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High