CVE-2026-81533

MongoDB BI Connector ODBC Driver Memory-Safety Issue When Parsing Oversized LIMIT Values

Published Aug 28, 2026 CVSS 4.0 · 6 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:mongodb:bi_connector_odbc_driver:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb bi Connector Odbc Driver
Vendors & Products Mongodb
Mongodb bi Connector Odbc Driver
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'}

Weaknesses
  • CWE-121

    Stack-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Aug 31, 2026, 6:35 PM
Reserved
Aug 26, 2026, 10:33 PM
Status
Analyzed
Published
Aug 28, 2026, 10:16 PM
Modified
Sep 11, 2026, 6:53 PM