CVE-2026-2303

Medium

Description

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductGo.mongodb.org/mongo-driver
PublishedFeb 10, 2026
First seenFeb 10, 2026
Weakness typeCWE-183CWE-183

How to fix

Update
  • go.mongodb.org/mongo-driver1.17.7 or later
  • go.mongodb.org/mongo-driver/v22.4.2 or later

Affected products

ProductAffected versionsFixed in
go.mongodb.org/mongo-driverGov < 1.17.71.17.7
go.mongodb.org/mongo-driver/v2Gov < 2.4.22.4.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.