# CVE-2026-6691: MongoDB C Driver Cyrus SASL Canonicalization Buffer Overflow

- Priority: **Routine**
- Reason: Not severe (CVSS 8.6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-06 · Modified: 2026-05-07
- Aliases: UBUNTU-CVE-2026-6691, DEBIAN-CVE-2026-6691
- Record: https://cvemate.com/vulnerability/CVE-2026-6691 · JSON: https://cvemate.com/vulnerability/CVE-2026-6691/json

## Description

```text
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.
```

## Signals

- CVSS: 8.6 high (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.131%, percentile 2.88%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian mongo-c-driver (Debian): \< 1.23.1-1+deb12u3 \| \< 1.30.4-1+deb13u2 \| \< 2.2.0-1
- ubuntu mongo-c-driver (Ubuntu): All versions (No fix recorded)
- mongodb inc mongodb c driver: ≥ 2.1.0, ≤ 2.1.2
- mongodb c driver: ≥ 2.1.0, \< 2.1.2

## References

- <https://jira.mongodb.org/browse/CDRIVER-6134>
- <https://ubuntu.com/security/CVE-2026-6691>
- <https://www.cve.org/CVERecord?id=CVE-2026-6691>
- <https://github.com/mongodb/mongo-c-driver/commit/b4984965877d559862e225beba09cb4e9d4a56a6>
- <https://github.com/mongodb/mongo-c-driver/commit/d9c26f49e75d3de746a690db9c81ff5b4f6e21b0>
- <https://security-tracker.debian.org/tracker/CVE-2026-6691>

---

Data as of 2026-12-05T04:36:41.409Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
