Description
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.
Published: 2026-08-28
Score: 6 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

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 driver copies the digit sequence into a fixed‑size internal buffer without verifying the length, which can lead to a host application process termination or corruption of surrounding memory. This vulnerability can potentially allow an attacker who can influence the numeric portion of a LIMIT clause to cause a crash, or, if the corrupted memory can be crafted, to execute arbitrary code within the process.

Affected Systems

The vulnerability affects the MongoDB:BI Connector ODBC Driver across all versions that enable the optional prefetch feature. Because the issue is tied to prefetch, any deployment that turns prefetch on is at risk. The exact affected driver releases are not listed; users should consult the vendor release notes and apply any available patch.

Risk and Exploitability

The CVSS score of 6.0 indicates moderate severity. The EPSS score is not available, and the flaw is not listed in the CISA KEV catalog. The attack vector is likely application‑level: an attacker needs the ability to supply or manipulate the LIMIT clause in a SQL statement passed to the driver. If such influence is possible, the driver can be forced to overflow its internal buffer, leading to an application crash or potential arbitrary code execution depending on the memory state. The prefetch setting must be enabled for exploitation to succeed, so disabling this option reduces the risk until a patch is applied.

Generated by OpenCVE AI on August 28, 2026 at 23:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the MongoDB BI Connector ODBC Driver to the latest patch version that validates the length of LIMIT digits before copying them into the buffer.
  • Disable the driver’s optional prefetch setting until a patch is available, as the vulnerability only occurs when prefetch is enabled.
  • Validate or sanitize any user‑supplied LIMIT clauses to ensure their numeric portions are within a safe length before they are sent to the driver.

Generated by OpenCVE AI on August 28, 2026 at 23:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 29 Aug 2026 00:45:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb bi Connector Odbc Driver
Vendors & Products Mongodb
Mongodb bi Connector Odbc Driver

Fri, 28 Aug 2026 22:00:00 +0000

Type Values Removed Values Added
Description 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.
Title MongoDB BI Connector ODBC Driver Memory-Safety Issue When Parsing Oversized LIMIT Values
Weaknesses CWE-121
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H'}

cvssV4_0

{'score': 6, 'vector': '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'}


Subscriptions

Mongodb Bi Connector Odbc Driver
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-08-28T20:28:02.666Z

Reserved: 2026-08-26T22:33:47.670Z

Link: CVE-2026-81533

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T22:16:54.930

Modified: 2026-08-28T22:16:54.930

Link: CVE-2026-81533

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-29T00:30:16Z

Weaknesses
  • CWE-121

    Stack-based Buffer Overflow