Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to BI application with low-privilege account
-
DeliveryCraft SQL with oversized LIMIT digit sequence
-
ExploitSubmit query via ODBC to BI Connector with prefetch enabled
-
ExecutionDriver copies digits into fixed-size stack buffer without bounds check
-
PersistStack overflow corrupts adjacent memory
-
ImpactHosting process crashes or attacker-controlled code executes
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
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 specific conditions must simultaneously be present for exploitation. First, the BI Connector ODBC Driver's prefetch feature must be explicitly enabled in the ODBC Data Source Name or connection-string - this is a non-default opt-in setting that routes SQL LIMIT parsing through the vulnerable buffer-copy code path; without prefetch enabled, the vulnerability is not reachable. Second, the attacker must hold at minimum low-privilege authenticated access (CVSS PR:L) sufficient to submit SQL queries through the BI Connector - anonymous or unauthenticated network exploitation is not possible. Limiting factors: the prefetch option is non-default, meaning the majority of BI Connector deployments are not exposed; and authentication is required, ruling out opportunistic internet-scale scanning attacks. There is no required user interaction beyond the attacker's own query submission. |
| Impact | The reporter-assigned CVSS 4.0 score of 6.0 (Medium) with vector AV:N/AC:L/AT:P/PR:L/UI:N reflects a balanced picture: network-reachable and requiring no special complexity once conditions are met, but gated by two real constraints - authenticated access (PR:L) and the non-default prefetch setting (AT:P). Primary impact is high availability loss (VA:H, process crash) with minor integrity risk (VI:L, stack corruption). Confidentiality impact is absent (VC:N). No KEV listing and no identified public exploit code further reduce urgency relative to the raw score. For organizations running the BI Connector with prefetch enabled and where SQL is submitted by less-trusted BI consumers, the risk is concrete and actionable. For environments where prefetch is disabled or all SQL is authored by trusted administrators, effective risk is negligible. No conflicting signals exist between the CVSS vector and the description; the AT:P designation accurately represents the prefetch dependency described in the CVE text. |
| Exploit ScenarioDerived | An authenticated BI tool consumer - for example, a Tableau or Excel user with query rights - submits a crafted SQL statement containing a LIMIT clause whose numeric argument consists of several hundred or more digit characters (e.g., LIMIT 99999...9). When the driver's prefetch setting is active, it routes the LIMIT value through the vulnerable parsing routine that copies the digit string into a fixed-size stack buffer; the overflow overwrites adjacent stack memory, causing the hosting application process to crash or, depending on stack layout, potentially redirecting execution. No public proof-of-concept has been identified, but the vulnerability class (CWE-121) is well understood and straightforward to weaponize once the target condition is confirmed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 28, 2026
Stack-based buffer overflow in MongoDB BI Connector ODBC Driver allows an authenticated user who can influence the numeric argument of a SQL LIMIT clause to crash the hosting application process or corrupt adjacent stack memory. The vulnerability is gated by a non-default driver configuration: the prefetch feature must be explicitly enabled, narrowing real-world exposure to that subset of deployments. No public exploit code has been identified and the issue is absent from CISA's Known Exploited Vulnerabilities catalog; however, where conditions are met, availability impact is rated High by the reporter.
RemediationAI
Consult the MongoDB BI Connector ODBC Driver releases page at https://github.com/mongodb/mongo-bi-connector-odbc-driver/releases to identify and deploy the latest release containing the fix - an exact patched version number is not confirmed in the available advisory data and must be determined from release notes there. As an immediate compensating control, disable the prefetch setting in your ODBC DSN configuration; this removes the vulnerable code path entirely and eliminates exploitation risk without requiring a driver upgrade, though it may reduce query throughput for large result sets due to loss of result prefetching. Additionally, enforce the principle of least privilege on who can submit arbitrary SQL to the BI Connector endpoint, particularly controlling the ability to specify or influence LIMIT clause values, to reduce the attack surface in environments where disabling prefetch is not immediately feasible.
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 BI Connector ODBC Driver (CPE: cpe:2.3:a:mongodb:bi_connector_odbc_driver:*:*:*:*:*:*:*:*) is an ODBC bridge that translates SQL queries from BI tools such as Tableau or Microsoft Excel into MongoDB aggregation-pipeline calls. CWE-121 (Stack-based Buffer Overflow) identifies the root cause: when parsing a LIMIT clause, the driver allocates a fixed-size stack buffer to receive the digit sequence, then copies user-supplied input into it without first validating the input length. This classic unbounded strcpy/memcpy pattern allows a sufficiently long digit string to overwrite adjacent stack data - potentially including saved return addresses or function pointers - enabling outcomes beyond the documented process-termination crash. The AT:P (attack requirement: present) flag in the CVSS 4.0 vector correctly encodes that this path is only reachable when the optional prefetch optimization is active in the ODBC Data Source Name 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:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Prefetch must be explicitly enabled (non-default, AC:H); low-privilege SQL submission required (PR:L); no confidentiality impact; high availability loss from process crash.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
1DescriptionCVE.org
An application using the MongoDB BI Connector ODBC Driver may encounter a memory-safety issue when a submitted SQL statement contains an unusually long run of digits following a LIMIT clause. The issue occurs only on connections where the driver's optional prefetch setting is enabled, and stems from the driver copying the digit sequence into a fixed-size internal buffer without checking its length. A user able to influence the numeric portion of a LIMIT clause could cause the hosting application process to terminate unexpectedly or corrupt adjacent memory in that process.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa
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
Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
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
EUVD-2026-67943
GHSA-gj6m-p8hr-868g
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB