CVE-2026-6691

Summary

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.

Affected Software

VendorProductVersion RangeStatus
MongoDB Inc.MongoDB C Driver2.1.0 <= 2.1.2affected

Weaknesses

  • CWE-120: CWE-120 Buffer Copy without Checking Size of Input

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

References