CVE-2026-6691 Affecting mongo-c-driver package, versions <2.2.0-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.13% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-MONGOCDRIVER-16325371
  • published1 May 2026
  • disclosed6 May 2026

Introduced: 1 May 2026

CVE-2026-6691  (opens in a new tab)

How to fix?

Upgrade Debian:unstable mongo-c-driver to version 2.2.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mongo-c-driver package and not the mongo-c-driver package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.