Read the docs
TI-2026-01948 Aliases CVE-2026-2303GHSA-cp6g-7hqx-qxhp

Heap Out-of-Bounds Read in Go Driver GSSAPI C Wrappers enables application crash or information leak

Priority LOW 30CWE-183Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00314 24th percentileScored 2026-11-07
Fix Fixed MongoDB Go Driver (MongoDB Inc): 1.17.7, 2.4.2go.mongodb.org/mongo-driver (Go): 1.17.7+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
MongoDBMongoDB Go Driver1.0.0 to before 1.17.7; 2.0.0 to before 2.4.21.17.7, 2.4.2Patch availableCNA
—go.mongodb.org/mongo-driver (Go)before 1.17.71.17.7Patch availableGHSA-cp6g-7hqx-qxhp
—go.mongodb.org/mongo-driver/v2 (Go)before 2.4.22.4.2Patch availableGHSA-cp6g-7hqx-qxhp
  • MongoDB Go Driver VendorMongoDB Affected 1.0.0 to before 1.17.7; 2.0.0 to before 2.4.2 Fixed in 1.17.7, 2.4.2 Patch available CNA
  • go.mongodb.org/mongo-driver (Go) Vendor— Affected before 1.17.7 Fixed in 1.17.7 Patch available GHSA-cp6g-7hqx-qxhp
  • go.mongodb.org/mongo-driver/v2 (Go) Vendor— Affected before 2.4.2 Fixed in 2.4.2 Patch available GHSA-cp6g-7hqx-qxhp

Remediation

  • Fix · CNA MongoDB Go Driver (MongoDB Inc) Fixed in 1.17.7, 2.4.2
  • Fix · GHSA-cp6g-7hqx-qxhp go.mongodb.org/mongo-driver (Go) Fixed in 1.17.7 Advisory →
  • Fix · GHSA-cp6g-7hqx-qxhp go.mongodb.org/mongo-driver/v2 (Go) Fixed in 2.4.2 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-2303
  2. 2026-10-03 Alias added: GHSA-cp6g-7hqx-qxhp

References

  • TI-2019-08023 Code injection in mongo-express KEVCVSS 3.1CRITICAL 9.9
  • TI-2025-13542 Zlib compressed protocol header length confusion may allow memory read KEVCVSS 4.0HIGH 8.7
  • TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
  • TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
  • TI-2026-79422 Unbounded memory growth in MongoDB C# Driver BSON deserialization CVSS 4.0HIGH 8.2
  • TI-2026-79427 Authentication bypass via issuer-and-serial-only certificate equality CVSS 4.0HIGH 7.6
See all 376 →

Sources