GHSA-cp6g-7hqx-qxhp

Suggest an improvement
Source
https://github.com/advisories/GHSA-cp6g-7hqx-qxhp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-cp6g-7hqx-qxhp/GHSA-cp6g-7hqx-qxhp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cp6g-7hqx-qxhp
Aliases
  • CVE-2026-2303
Downstream
Related
Published
2026-02-10T21:31:31Z
Modified
2026-06-19T02:29:27.503891166Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2026-02-10T20:17:00Z",
    "github_reviewed_at": "2026-06-18T13:02:29Z",
    "github_reviewed": true,
    "severity": "MODERATE",
    "cwe_ids": [
        "CWE-183"
    ]
}
References

Affected packages

Go / go.mongodb.org/mongo-driver

Package

Name
go.mongodb.org/mongo-driver
View open source insights on deps.dev
Purl
pkg:golang/go.mongodb.org/mongo-driver

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.17.7

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-cp6g-7hqx-qxhp/GHSA-cp6g-7hqx-qxhp.json"

Go / go.mongodb.org/mongo-driver/v2

Package

Name
go.mongodb.org/mongo-driver/v2
View open source insights on deps.dev
Purl
pkg:golang/go.mongodb.org/mongo-driver/v2

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-cp6g-7hqx-qxhp/GHSA-cp6g-7hqx-qxhp.json"