go.mongodb.org/mongo-driver
Affected
- introduced
0, fixed1.17.7(semver)
Fixed versions
1.17.7
Fix
- Fixed version
1.17.7go get go.mongodb.org/[email protected]
Advisory
Also known as: CVE-2026-2303, GO-2026-5327
mongo-go-driver has Heap Out-of-Bounds Read in GSSAPI Error Handling
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.
Medium Basis: The source's own band: MODERATE
0, fixed 1.17.7 (semver)1.17.7
1.17.7go get go.mongodb.org/[email protected]0, fixed 2.4.2 (semver)2.4.2
2.4.2go get go.mongodb.org/mongo-driver/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0