CVE-2026-6691
Severity CVSS v4.0:
HIGH
Type:
CWE-120
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Publication date:
06/05/2026
Last modified:
26/10/2026
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.
Impact
Base Score 4.0
8.60
Severity 4.0
HIGH
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:* | 2.1.0 (including) | 2.1.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page


