CVE-2026-120959

MongoDB Atlas SQL ODBC Driver uses ignored SQLBindCol BufferLength as fixed-width row-array stride, causing out-of-bounds writes

Published Nov 3, 2026 CVSS 4.0 · 2.1 Low EPSS < 1% KEV · Not listed
Description
A memory-handling flaw in the MongoDB Atlas SQL ODBC Driver can cause values returned for a query to be written outside the bounds of a buffer provided by the calling application. A party able to influence the values a query returns may cause data to be placed at an unintended location in the client application's memory, which may result in unintended modification of that memory or termination of the client process. Reaching this condition depends on a specific, application-chosen way of requesting several result rows at once.

Analysis

AI-generated

Technical impact

A memory‑handling error in the MongoDB Atlas SQL ODBC Driver causes values returned for a query to be written outside the bounds of a buffer that the calling application supplies. The flaw occurs when the driver ignores SQLBindCol’s BufferLength parameter and treats the buffer as a fixed‑width row array, so that a specific query requesting several rows at once can overflow the buffer. An attacker who can influence the query result set may cause data to be placed at unintended locations in the client application's memory, potentially modifying that memory or terminating the process.

Affected Systems

The vulnerability exists in the MongoDB Atlas SQL ODBC Driver used by MongoDB Atlas applications. No specific product versions are identified in the CVE record, so any deployment of the driver that has not been updated by MongoDB is at risk.

Risk and Exploitability

The CVSS score of 2.1 indicates a low severity assessment, and the EPSS score is not available, with no listing in CISA KEV. Exploitation requires the attacker to influence query results and trigger bulk row fetching, which limits the likelihood of attack but still allows out‑of‑bounds memory writes that could lead to data corruption or process crashes. The overall risk is therefore low to moderate, depending on the application's use of the driver.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the MongoDB Atlas SQL ODBC Driver to the latest release once MongoDB issues a patch to correct the buffer length handling.
  • Avoid requesting multiple rows in a single BindCol operation; request one row at a time or ensure that BufferLength correctly matches the expected row size and stride.
  • Incorporate bounds checking or defensive coding in the application to detect and prevent memory corruption when processing driver results.

Generated by OpenCVE AI on November 3, 2026 at 21:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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 atlas Sql
Vendors & Products Mongodb
Mongodb atlas Sql
Type Values Removed Values Added
Description A memory-handling flaw in the MongoDB Atlas SQL ODBC Driver can cause values returned for a query to be written outside the bounds of a buffer provided by the calling application. A party able to influence the values a query returns may cause data to be placed at an unintended location in the client application's memory, which may result in unintended modification of that memory or termination of the client process. Reaching this condition depends on a specific, application-chosen way of requesting several result rows at once.
Title MongoDB Atlas SQL ODBC Driver uses ignored SQLBindCol BufferLength as fixed-width row-array stride, causing out-of-bounds writes
Weaknesses CWE-787
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 2.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Nov 6, 2026, 7:43 PM
Reserved
Nov 3, 2026, 3:56 AM
Status
Awaiting Analysis
Published
Nov 3, 2026, 9:17 PM
Modified
Nov 6, 2026, 8:20 PM