# CVE-2026-2303: Heap Out-of-Bounds Read in Go Driver GSSAPI C Wrappers enables application crash or information leak

> An attacker can trigger a heap out-of-bounds read in the MongoDB Go Driver's GSSAPI bindings, causing application crashes or leaking sensitive memory information.

- **Severity:** Medium 6.9 (`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`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 10 Feb 2026
- **Updated:** 11 Feb 2026
- **Also known as:** AZL-77525, AZL-77547, AZL-77559, CLEANSTART-2026-CA40991, CLEANSTART-2026-EI57937, CLEANSTART-2026-EU28747, CLEANSTART-2026-IU25622, CLEANSTART-2026-JS49765, CLEANSTART-2026-KI36555, CLEANSTART-2026-PM11599, CLEANSTART-2026-RV05686, CLEANSTART-2026-XN70035, ECHO-81bc-fe66-7c41, GHSA-cp6g-7hqx-qxhp, GO-2026-5327, MINI-22rw-g55c-pw46, MINI-276g-8pfv-6vcr, MINI-296x-h64p-vgg2, MINI-2fg6-32xh-5q52, MINI-2g6c-445g-7764, MINI-2hwj-6vfw-9r95, MINI-2pg4-h69g-gm7r, MINI-2vq6-p4cq-6h9q, MINI-2wm6-f3qp-242j, MINI-324h-vm65-7jgq, MINI-32cm-2622-fj3p, MINI-3cr2-59j8-rj54, MINI-3g9r-fcfr-xv8r, MINI-3qc8-xvcp-53cp, MINI-3qw8-h7xw-7p6p, MINI-3rwr-32c4-x3j8, MINI-3wgp-xh45-w724, MINI-3x9f-246f-mp66, MINI-3xwx-g8w2-rv24, MINI-4262-hp2g-hxj3, MINI-43rr-wfrh-hfjg, MINI-44vc-7c55-3hr9, MINI-45wf-rvq8-35rg, MINI-475r-v3m2-6q5p, MINI-4mh4-25j3-4349, MINI-4rjv-g2vv-4vwr, MINI-4w6f-p96h-qm3p, MINI-4xp5-52wg-2257, MINI-52jc-g3jr-whhv, MINI-5472-h394-32fh, MINI-563g-hxvp-5x98, MINI-5c65-23cv-57c5, MINI-5cjj-52r4-2cpp, MINI-5cr6-c654-mm46, MINI-5m69-2444-37fm, MINI-5mp4-68j4-f7xf, MINI-5r2w-9cw4-89m3, MINI-5x3r-rcq5-h9cc, MINI-5xhc-f83m-w9mj, MINI-6282-8q94-5qcm, MINI-66qw-xvmr-646x, MINI-67h9-fr9h-wxfh, MINI-6cfc-627p-6hc7, MINI-6h4g-rr2p-fmjw, MINI-6m27-8q5r-56p2, MINI-6pp2-9vrc-prx5, MINI-6pv8-2jhj-6vpg, MINI-6wp8-ch35-gj53, MINI-6xgh-h94f-w63h, MINI-752r-c2gv-g6hq, MINI-78jq-j88v-fpw6, MINI-78m5-7rp7-x35x, MINI-7c39-gpqc-xj7v, MINI-7cqx-9vj2-257w, MINI-7f5g-w23q-3wxx, MINI-7hhg-rrxh-9hw9, MINI-7j57-j222-pjwj, MINI-7jx2-f99v-qjxr, MINI-7q9v-p6q6-vmrh, MINI-7rj5-r4f6-qpxh, MINI-7wgq-vw4f-qr4j, MINI-82g3-hp5h-27g8, MINI-874j-hxq7-chwv, MINI-88j5-wqr9-hwvv, MINI-88wx-h7m4-pcmg, MINI-892v-2cg6-pqvh, MINI-89hv-wqp6-6g9c, MINI-89rv-6g6j-vw9r, MINI-8fhx-5f9c-9223, MINI-8g3g-7qh9-q27p, MINI-8gmx-37cj-f5wx, MINI-8gvh-g92q-743f, MINI-8j49-m759-2mhf, MINI-8mxw-7qj7-wm75, MINI-8p56-5jrf-mfqg, MINI-8q4c-3224-5wvx, MINI-8r6p-5h84-6wf5, MINI-8rm7-mc64-jr6v, MINI-8vrx-x23g-99jm, MINI-923x-3q8h-v6qq, MINI-952f-2j85-525q, MINI-985c-2887-jg7p, MINI-9fqc-rpq9-5v2h, MINI-9fw4-57rr-x52q, MINI-9g2r-6rxq-h87j, MINI-9gmh-mr8v-66x8, MINI-9h82-cvmr-frcj, MINI-9h9q-x6wx-w2jm, MINI-9mc4-49vm-54m5, MINI-9prg-f2m6-r2r4, MINI-9w9r-95fw-j7h9, MINI-9x96-443g-5282, MINI-9xr5-9rrv-jxv6, MINI-c26c-xmjj-g72c, MINI-c4mm-m55f-v38q, MINI-c625-c3gr-v3j3, MINI-c6xf-rw35-76v2, MINI-cg3x-f9jc-xf98, MINI-cq7c-42p8-8x9w, MINI-crg3-vf73-6h3f, MINI-cv22-8g93-7c5q, MINI-cv2w-2f56-9h3w, MINI-cxf8-gchf-g7jq, MINI-f2q9-8gqx-rg37, MINI-f6fh-2frm-3j6f, MINI-f73c-f2f2-2gc3, MINI-f889-f844-67cc, MINI-fgrv-3grv-cc8w, MINI-fhch-rrhg-mw74, MINI-fjcq-jh8c-qf47, MINI-fq93-442g-gf2m, MINI-fr6x-hwrr-r6p5, MINI-fv7g-hpw2-53xv, MINI-fw9f-98qv-3jr7, MINI-fwv7-jj44-2fm8, MINI-g4m7-32w5-x92q, MINI-g5rf-x979-wgm7, MINI-g6x8-q3vj-6hpf, MINI-g74j-j4qc-xqg7, MINI-g885-w65c-93cx, MINI-g994-v9xv-8c3m, MINI-gcmq-wgjq-4jw5, MINI-gf6v-v9h2-pqg7, MINI-gfp5-3xfp-jhx3, MINI-ggfg-253g-p27j, MINI-ggpq-5r8v-q62j, MINI-gmfq-fhw4-2jqj, MINI-gxfh-wvvr-7v5q, MINI-gxr8-fq69-45vc, MINI-h39f-4c48-f2pw, MINI-h4x9-6grf-42pf, MINI-h89j-8pxh-m2j3, MINI-hfg6-m27m-9wq6, MINI-hg5q-7hpr-j7xj, MINI-hgqp-w87x-6g34, MINI-hjq4-p9f6-8wx2, MINI-hmwx-qg63-h56c, MINI-hpg4-4hr3-594v, MINI-hqqf-2vh6-rwh6, MINI-hx64-576w-jfx4, MINI-j385-pr3g-mcrg, MINI-j4c3-6x4c-9hr6, MINI-j4rh-6ph2-pf9x, MINI-j54p-gm6c-34rr, MINI-j6jc-r54c-c99w, MINI-j98h-2ggf-v26p, MINI-jg77-g75f-xv2x, MINI-jgcq-prwq-pmg8, MINI-jv25-844x-v89w, MINI-jvpj-jg4p-gf7v, MINI-jxf3-2chx-7pm3, MINI-jxfm-ffv7-2495, MINI-m2vw-x2qq-3fv4, MINI-m68v-8g6m-7m7h, MINI-m7v2-2mrh-pqpx, MINI-m94m-g4qr-j4mm, MINI-mc6j-6794-2vm5, MINI-mg8j-vxhp-c6w9, MINI-mhr8-869p-2227, MINI-mvjj-2f2v-7g74, MINI-p3rj-237g-w5v2, MINI-p792-r44h-q6j2, MINI-pc7c-hcmh-85px, MINI-pgfm-73vq-c3qf, MINI-pghf-gwg2-vjjw, MINI-pjvf-6qg7-6xqw, MINI-pjvq-9x2r-mxfm, MINI-pmm9-fx3q-whfm, MINI-pqg2-322m-7w4q, MINI-prr2-342r-4vc8, MINI-pvcm-p3wq-f6x2, MINI-pwj8-2cv6-f438, MINI-px25-jp57-826m, MINI-q2m5-qv55-69fj, MINI-q323-72hj-cw5f, MINI-q4pc-ppv3-cqrh, MINI-qcmf-v9m7-g2c7, MINI-qf7f-ccrw-qgq6, MINI-qfjh-hcvx-hpq8, MINI-qfq5-xq42-46vc, MINI-qj2w-v5fq-pfc4, MINI-qjfr-689v-ghrp, MINI-qmfr-933j-g3pv, MINI-qq33-2f4r-h4r4, MINI-qqh7-j59f-m4gh, MINI-qvm8-9qc4-phq3, MINI-qvrc-24p2-6h52, MINI-qwwx-r5f4-p85j, MINI-r357-3jv5-mg5v, MINI-r39c-fm7p-qmr7, MINI-r6r2-hgmg-9277, MINI-rgmh-7727-8xjw, MINI-rh66-q8jq-9jx4, MINI-rp89-g2rv-m597, MINI-rv9x-3424-w3vp, MINI-rvv8-c3gx-wff7, MINI-v3ch-j2q5-g9qm, MINI-v922-9vj5-q46q, MINI-v9j2-g3jq-hgq6, MINI-vhp2-2wm5-8j8w, MINI-vhrr-m534-pg56, MINI-vhvx-f4h8-ph74, MINI-vp5g-gr7v-rmr9, MINI-vpvr-h3wf-x78p, MINI-vrfq-jx7h-63hj, MINI-vrq9-pf6x-2j62, MINI-w4cv-67fg-8qx6, MINI-w7xq-5h46-4784, MINI-w86f-mp8j-rh8f, MINI-wcwj-3mhh-w2x3, MINI-wf86-j35p-qp52, MINI-wjcm-8hgq-gwvh, MINI-wqcg-fq6w-f3x4, MINI-wwv4-hhv8-5wf2, MINI-x2qx-rrgc-pfqp, MINI-x5m8-pgcq-r5xx, MINI-x845-w664-ff5f, MINI-xfw8-vjgp-hqg7, MINI-xm78-hj59-3xh8, MINI-xp2v-mg7f-fg53, MINI-xwpj-m2vm-v25f, MINI-xx6p-c54j-9wcg, MINI-xxwg-9v9q-m6qm, ROOT-APP-GOBINARY-CVE-2026-2303, SUSE-RU-2026:2815-1, openSUSE-SU-2026:11197-1, openSUSE-SU-2026:12058-1, openSUSE-SU-2026:21276-1

## What is CVE-2026-2303?

CVE-2026-2303 is a medium-severity memory corruption vulnerability in MongoDB Go Driver, published on 10 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

### Official 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.

Weakness: CWE-183 (Permissive List of Allowed Inputs)

## Which versions are affected by CVE-2026-2303?

6 open source packages ship an affected version, including go.mongodb.org/mongo-driver and go.mongodb.org/mongo-driver/v2.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `go.mongodb.org/mongo-driver` | Go | All versions | 1.17.7 |
| `go.mongodb.org/mongo-driver` | Go | All versions | 1.17.7 |
| `go.mongodb.org/mongo-driver` | Go | All versions | 1.17.7 |
| `go.mongodb.org/mongo-driver/v2` | Go | All versions | 2.4.2 |
| `go.mongodb.org/mongo-driver/v2` | Go | All versions | 2.4.2 |
| `go.mongodb.org/mongo-driver/v2` | Go | All versions | 2.4.2 |
| `apptainer` | SUSE:Linux Enterprise Module for HPC 15 SP7 | All versions | 1.5.1-150600.4.29.1 |
| `squashfuse` | SUSE:Linux Enterprise Module for HPC 15 SP7 | All versions | 0.5.0-150600.3.4.1 |
| `apptainer` | SUSE:Linux Enterprise Module for Package Hub 15 SP7 | All versions | 1.5.1-150600.4.29.1 |
| `squashfuse` | SUSE:Linux Enterprise Module for Package Hub 15 SP7 | All versions | 0.5.0-150600.3.4.1 |
| `apptainer` | openSUSE:Leap 16.0 | All versions | 1.5.1-bp160.2.1 |
| `apptainer` | openSUSE:Tumbleweed | All versions | 1.5.1-3.1 |
| `golang-github-prometheus-alertmanager` | openSUSE:Tumbleweed | All versions | 0.34.1-2.1 |

## How do I fix CVE-2026-2303?

Upgrade go.mongodb.org/mongo-driver to 1.17.7 or later.

## Is CVE-2026-2303 being exploited?

There is no known exploitation of CVE-2026-2303 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-2303 and fix it if it is affected.

What it is: CVE-2026-2303 is a medium-severity memory corruption vulnerability in MongoDB Go Driver, published on 10 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2026-2303 in the wild and no public exploit code.

Affected packages and fixed versions:
- go.mongodb.org/mongo-driver (Go): affected all versions; fixed in 1.17.7
- go.mongodb.org/mongo-driver (Go): affected all versions; fixed in 1.17.7
- go.mongodb.org/mongo-driver (Go): affected all versions; fixed in 1.17.7
- go.mongodb.org/mongo-driver/v2 (Go): affected all versions; fixed in 2.4.2
- go.mongodb.org/mongo-driver/v2 (Go): affected all versions; fixed in 2.4.2
- go.mongodb.org/mongo-driver/v2 (Go): affected all versions; fixed in 2.4.2

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-2303/ (Markdown: https://insights.sbomify.com/CVE-2026-2303/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-2303
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-2303
- OSV: https://osv.dev/vulnerability/CVE-2026-2303

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-2303/
Summaries are generated and may contain mistakes; the official description above is the record.
