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

- Severity: High 8.6 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-06T15:08:23.671Z
- Modified: 2026-10-26T19:10:00.163Z
- Weaknesses: CWE-120, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mongodb

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

(As written by CVE List.)

## Affected

- MongoDB Inc. MongoDB C Driver: from 2.1.0 up to 2.1.2
- mongodb c_driver: from 2.1.0 before 2.1.2

## Every score

- mongodb: CVSS:4.0 8.6 High `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`
- mongodb: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://jira.mongodb.org/browse/CDRIVER-6134> (issue-tracking, patch, vendor-advisory)

## Sources

- CVE List: [CVE-2026-6691](https://www.cve.org/CVERecord?id=CVE-2026-6691), CVE Terms of Use, modified 2026-05-07
- NVD: [CVE-2026-6691](https://nvd.nist.gov/vuln/detail/CVE-2026-6691), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-6691 · Whole record: https://cve.day/CVE-2026-6691.json · Rebuilt by cve.day 2026-11-25T22:59:20.772Z
