CVE-2026-6691: The MongoDB C Driver's Cyrus SASL integration performs unsafe string copying during username canonicalization,
CVE-2026-6691 is a high-severity flaw (CVSS 7.8) affecting c driver. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
A fixed release or distro patch exists.
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-6691?
c driver: upgrade to 2.1.2. Exact commands for each OS are on this page.
Is CVE-2026-6691 being exploited?
CVE-2026-6691 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-6691 affect?
CVE-2026-6691 affects c driver. Severity is high (CVSS 7.8). 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
How urgent is CVE-2026-6691?
Priority 28/100. High severity
Software pages
Related CVEs
- CVE-2026-6231 MEDIUM 4.3 UPGRADE The bson_validate function may return early on specific inputs and incorrectly report success
- CVE-2026-81524 MEDIUM 5.4 UPGRADE A weakness in the MongoDB C Driver allows special elements in caller-supplied database and collection name com
- CVE-2026-84963 MEDIUM 5.3 UPGRADE An incorrect numeric conversion in the JSON parsing component of the MongoDB C Driver's BSON library may cause
- CVE-2026-84964 MEDIUM 5.9 UPGRADE A double free in the OpenSSL-based TLS certificate revocation checking path of the MongoDB C Driver can be rea
- CVE-2026-84965 MEDIUM 5.1 UPGRADE An integer wraparound in an allocation size calculation in the BSON library's JSON parsing code can cause a bu