Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 97%

CVE-2026-6691: CWE-120 Buffer Copy without Checking Size of Input in MongoDB Inc. MongoDB C Driver

0
High
VulnerabilityCVE-2026-6691cvecve-2026-6691cwe-120
Published: 05/06/2026 (05/06/2026, 15:08:23 UTC)
Source: CVE Database V5
Vendor/Project: MongoDB Inc.
Product: MongoDB C Driver

Description

CVE-2026-6691 is a high-severity vulnerability in the MongoDB C Driver version 2.1.0. It involves unsafe string copying in the Cyrus SASL integration during username canonicalization, leading to a heap buffer overflow. This flaw can be triggered by passing untrusted input in the username field of a MongoDB URI when using the GSSAPI authentication mechanism. No official patch or remediation guidance is currently available from the vendor. There are no known exploits in the wild at this time.

CVSS v4.0

Score 8.6high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
mongodb/mongo-c-driver
pkg:github/mongodb/mongo-c-driver
Affected versions
=2.1.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/14/2026, 03:52:30 UTC

Technical Analysis

The MongoDB C Driver version 2.1.0 contains a buffer overflow vulnerability (CWE-120) in its Cyrus SASL integration component. During the process of canonicalizing usernames for GSSAPI authentication, the driver performs unsafe string copying without verifying the size of the input. This can result in a heap buffer overflow before any authentication or network communication occurs, potentially leading to memory corruption or application crashes. The vulnerability has a CVSS 4.0 score of 8.6, indicating high severity. No patch or official remediation has been published by MongoDB Inc. as of the publication date.

Potential Impact

Successful exploitation of this vulnerability could cause a heap buffer overflow in the MongoDB C Driver, potentially leading to application crashes or memory corruption. Because the overflow occurs before authentication or network traffic, it may allow an attacker to disrupt service or possibly execute arbitrary code depending on the context. However, no known exploits have been reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should avoid passing untrusted input in the username field of MongoDB URIs when using the GSSAPI authentication mechanism. Monitoring vendor channels for updates is recommended.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mongodb
Date Reserved
2026-04-20T16:17:41.724Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69fb5c96cbff5d861000f724

Added to database: 05/06/2026, 15:21:58 UTC

Last enriched: 05/14/2026, 03:52:30 UTC

Last updated: 07/31/2026, 19:23:00 UTC

Views: 380

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses