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.
Published: 2026-02-10
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure
Action: Update Driver
AI Analysis

Impact

The vulnerability arises from an out‑of‑bounds read in the CGo bindings used by the MongoDB Go Driver’s GSSAPI authentication on Linux and macOS. An attacker could trigger a read of one byte past a heap buffer when the driver processes a Kerberos token that is not null‑terminated. This leads to either a crash of the application or inadvertent exposure of memory contents that may contain sensitive information. No direct code execution is possible, but the instability and data leakage pose a moderate threat to confidentiality and availability.

Affected Systems

The issue affects MongoDB Inc’s MongoDB Go Driver whenever GSSAPI authentication is enabled on Linux or macOS. Exact vulnerable versions are not listed; therefore any release up to the latest that has not applied the corrective wrapper adjustments is potentially impacted.

Risk and Exploitability

With a CVSS score of 6.9 the vulnerability is classified as medium severity. The EPSS score of less than 1 % indicates a low probability of exploitation at the time of analysis. The attack vector is likely local or requires the ability to send crafted Kerberos tokens to the driver, so it is not an arbitrary external exploit. The vulnerability is not currently listed in CISA’s KEV catalog. The risk is thus moderate but potentially significant for applications that rely on GSSAPI authentication.

Generated by OpenCVE AI on April 17, 2026 at 20:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the MongoDB Go Driver to the latest release that includes the fix for the out‑of‑bounds read.
  • If immediate upgrading is not possible, temporarily disable GSSAPI authentication or switch to an alternative authentication mechanism.
  • Audit custom Kerberos token handling to ensure that buffers are properly terminated or padded, reducing the risk of similar boundary violations.

Generated by OpenCVE AI on April 17, 2026 at 20:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 11 Feb 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb go Driver
Vendors & Products Mongodb
Mongodb go Driver

Wed, 11 Feb 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 10 Feb 2026 19:45:00 +0000

Type Values Removed Values Added
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.
Title Heap Out-of-Bounds Read in Go Driver GSSAPI C Wrappers enables application crash or information leak
Weaknesses CWE-183
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'}

cvssV4_0

{'score': 6.9, 'vector': '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'}


Subscriptions

Mongodb Go Driver
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-02-11T15:16:15.789Z

Reserved: 2026-02-10T18:55:27.871Z

Link: CVE-2026-2303

cve-icon Vulnrichment

Updated: 2026-02-11T15:16:11.659Z

cve-icon NVD

Status : Deferred

Published: 2026-02-10T20:17:00.757

Modified: 2026-04-15T00:35:42.020

Link: CVE-2026-2303

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-17T20:30:15Z

Weaknesses