p PatchFirst

CVE-2026-2303

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

CVSS 6.9 · Medium · EPSS 0.3% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Affected products and versions

  • mongodb go driver

    Versions
    • ≥ 1.0.0, < 1.17.7: Affected (semver)
    • ≥ 2.0.0, < 2.4.2: Affected (semver)

    Update to 1.17.7; Update to 2.4.2

Original sources

Check your server →