CVE-2026-6691

EUVD-2026-27838
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.
Classic Buffer Overflow
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.8 HIGH
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 2.68%
Affected Products (NVD)
VendorProductVersion
mongodbc_driver
2.1.0 ≤
𝑥
< 2.1.2
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
mongo-c-driver
bookworm
1.23.1-1+deb12u3
fixed
bullseye
postponed
bullseye (security)
vulnerable
forky
2.3.3-1
fixed
sid
2.3.3-1
fixed
trixie
1.30.4-1+deb13u2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
mongo-c-driver
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
ignored
resolute
not-affected