Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain ability to supply connection settings (PR:L)
-
DeliveryCraft abnormally large username value
-
ExploitSubmit to SASL-enabled driver connection
-
InstallInteger overflow wraps size check
-
C2Oversized copy writes past buffer end
-
ExecuteMemory corruption
-
ImpactHost application crash (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Two non-default conditions must simultaneously be satisfied: (1) the MongoDB C Driver must have been built with the optional external SASL authentication backend compiled in - this is not a default build option; and (2) the targeted connection must be configured to use SASL authentication specifically. Additionally, the attacker must be able to supply or meaningfully influence the username value presented to the driver's connection settings (mapped as PR:L in CVSS). Limiting factors: applications using default MongoDB authentication mechanisms (SCRAM-SHA-1/256) are entirely unaffected; the impact is availability-only with no data exposure; and the exploit requires local or application-layer access to connection settings rather than raw network access. |
| Impact | The CVSS 4.0 score of 5.7 (AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H) appropriately reflects the bounded real-world risk. The AT:P metric captures a critical double precondition: the SASL backend must be compiled in and the specific connection must be configured to use it, materially reducing the exposed population. AV:L and PR:L confirm that the attacker must already have some degree of influence over the application's connection settings - an attacker in that position may already hold significant access. The impact is purely a denial-of-service (application crash); no confidentiality or integrity compromise is indicated. There is no CISA KEV listing and no public exploit code, placing this firmly in the low-active-exploitation tier. The primary realistic concern is in multi-tenant or user-configurable environments where untrusted parties can supply database connection parameters. |
| Exploit ScenarioDerived | In a multi-tenant application where users can partially control their database connection credentials, an attacker crafts an abnormally long username value and supplies it to the application. If the application embeds a MongoDB C Driver build that includes the external SASL backend and the connection is configured for SASL, the integer size check wraps around, the username overwrites past the buffer boundary, corrupts memory, and crashes the host application process - causing a denial-of-service for all users sharing that process. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 10, 2026
Integer overflow in the MongoDB C Driver's SASL authentication path allows an abnormally large username to bypass a size check via arithmetic wrap-around, writing past the end of a fixed-size buffer and crashing the embedding application. Only applications compiled with the optional external SASL backend and configured to use it are reachable; the impact is limited to availability with no confidentiality or integrity consequence per CVSS VC:N/VI:N. No public exploit has been identified at time of analysis.
RemediationAI
No vendor-released patch version has been identified from the available data; the MongoDB Jira ticket CDRIVER-6416 (https://jira.mongodb.org/browse/CDRIVER-6416) should be monitored for fix release announcements. As an immediate compensating control, applications that do not require external SASL authentication should rebuild the MongoDB C Driver with the SASL backend disabled, eliminating the vulnerable code path entirely - note this removes all SASL-based authentication capability. Where SASL is operationally required, restrict which parties can influence the driver's connection parameters: ensure no untrusted user input flows into the username field without a safe maximum-length validation applied upstream of the driver call. This prevents the oversized value from reaching the vulnerable size check.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The MongoDB C Driver (cpe:2.3:a:mongodb:c_driver) provides client-side authentication including an optional external SASL (Simple Authentication and Security Layer) backend integration. CWE-190 (Integer Overflow or Wraparound) is the root cause: a size calculation applied to the incoming username value overflows when that value is unusually large, wrapping the computed length to a smaller-than-expected number. The boundary guard passes this wrapped value as safe, and the full oversized username is subsequently copied into a small buffer, producing a classic out-of-bounds write. The result is memory corruption severe enough to cause the host application to terminate. The vulnerable code is only reachable when the driver is built with SASL support compiled in - this is optional and not the default configuration.
Know when MongoDB gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
AV:L and PR:L because attacker must influence local connection settings; AC:H reflects the non-default SASL build plus configuration double-precondition (AT:P equivalent).
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
1DescriptionCVE.org
A size check in the client-side authentication path of the MongoDB C Driver can wrap around, so an unusually large user-name value is accepted and copied past the end of a small buffer. A party able to set the driver's connection settings may cause the application that embeds the driver to terminate unexpectedly. Reaching this code requires a build in which the optional external SASL authentication backend is present and a connection configured to use it.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma
All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8
Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or
Same weakness CWE-190 – Integer Overflow or Wraparound
View allSame technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2026-75671
GHSA-jgj9-g5rr-w8xg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB