ZeroHour

CVE-2026-81532

moderate

Stack buffer overflow in MongoDB Connector for BI ODBC driver may allow code execution

CVSS 4.0
8.7 high
EPSS
<1%p21
Published
()
Modified
AI analysis

CVE-2026-81532 is a buffer overflow (CWE-121) in the MongoDB Connector for BI ODBC driver: cursor names in positioned-cursor SQL statements are not length-checked before the driver copies them into a fixed-length internal buffer while constructing a diagnostic message. An attacker needs only low privileges — any user who can submit SQL through an application that uses this ODBC driver — and triggers the flaw by sending a positioned-cursor statement with an over-long cursor name. The resulting overwrite of adjacent memory can crash the hosting application process and may also allow unintended code to run within it. Only deployments that use the Connector for BI's ODBC driver — typically BI and analytics integrations that issue SQL against MongoDB over ODBC — are affected; the data provided names no other MongoDB products or version ranges. No proof-of-concept is known, the flaw is not in CISA's KEV catalog, and EPSS estimates only a 0.3% chance of exploitation in the next 30 days, so no active exploitation is known at this time.

What to do: Inventory whether any applications or BI-tool integrations connect to MongoDB through the Connector for BI ODBC driver, and upgrade the driver to a patched release once MongoDB publishes fixed versions (no version numbers are available in the data at hand). In the meantime, restrict SQL submission to trusted low-privilege users and cap or validate cursor-name lengths in application code, and alert on crashes of processes hosting the driver.

Affected
MongoDB Connector for BI — ODBC driver
Estimated exposure
moderateroughly 10k–100k deployments at most (optional connector; no public install counts) — The Connector for BI is an optional component used only where BI/analytics tools query MongoDB through its ODBC driver, a subset of MongoDB's overall install base for which MongoDB publishes no active-install figures, so this…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

A user able to submit SQL through an application using the MongoDB Connector for BI ODBC driver can supply a positioned-cursor statement whose cursor name exceeds the size of an internal fixed-length buffer. Because the name length is not bounded before the driver builds its diagnostic message, memory adjacent to that buffer is overwritten with user-supplied content. This can terminate the hosting application process and may allow unintended code to run within it.

Vendors
mongodb
Products
bi connector odbc driver
Weakness
CWE-121
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.