CVE-2026-2303
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.
How to fix
- go.mongodb.org/mongo-driver1.17.7 or later
- go.mongodb.org/mongo-driver/v22.4.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| go.mongodb.org/mongo-driverGo | v < 1.17.7 | 1.17.7 |
| go.mongodb.org/mongo-driver/v2Go | v < 2.4.2 | 2.4.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.