7.8High
CVE-2026-6691MongoDB C Driver Cyrus SASL Canonicalization Buffer Overflow
Description
The MongoDB C Driver's Cyrus SASL integration performs unsafe string copying during username canonicalization, enabling a heap buffer overflow before any authentication or network traffic. This may be triggered by passing untrusted input in the username of a MongoDB URI with authMechanism=GSSAPI.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| mongodb | c driver | 2.1.0 – < 2.1.2 | |
| MongoDB Inc. | MongoDB C Driver | 2.1.0 – ≤ 2.1.2 |
References and patches
- https://jira.mongodb.org/browse/CDRIVER-6134 PatchVendor AdvisoryIssue Tracking
CPE matches (NVD) (1)
cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*≥ 2.1.0 < 2.1.2