CVE-2026-120956

remote abort and memory disclosure from a malformed cursor.ns

Published Nov 3, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
The MongoDB C Driver does not validate the type or format of a namespace field returned by the server in a query response. A MongoDB endpoint that a client application connects to, without needing any credentials, can return a malformed value in that field. This causes the client application process to terminate, and can also cause the driver to read memory outside an allocated buffer and to send a small amount of the application's own uninitialized heap memory back to the endpoint in a follow-up command. The impact is limited to the process that embeds the driver.

Analysis

AI-generated

Technical impact

The vulnerability is due to the MongoDB C Driver’s failure to validate the type or format of a namespace field that is returned by the server in a query response. When a MongoDB endpoint that does not require authentication sends a malformed value in that field, the driver’s internal buffer is not correctly checked. This causes the client application process to terminate abruptly and also allows a buffer over‑read. The driver may read a small amount of uninitialised heap memory and send that data back to the endpoint, resulting in accidental disclosure of sensitive information from the application’s memory. The effect is limited to the process that embeds the driver. The weakness is identified as CWE‑125 and CWE‑617.

Affected Systems

The affected product is the MongoDB C Driver. No specific affected version ranges are listed in the advisory, so any deployment of this driver that has not been updated to a fixed release may be vulnerable.

Risk and Exploitability

The CVSS score of 7.1 places this issue in the high‑severity range. Although the EPSS score is less than 1%, the advisory notes that an endpoint does not need credentials to supply the malicious response, implying a remote, unauthenticated exploitation path. The vulnerability is listed as not yet included in CISA's KEV catalog. A remote attacker who can target the MongoDB instance could trigger process crashes or cause disclosure of application memory via the driver’s follow‑up command. The risk remains significant until a vendor‑issued patch or compatible workaround is applied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the MongoDB C Driver to the latest version that includes namespace field validation.
  • Restrict client connections to trusted MongoDB servers and use network segmentation or firewall rules to prevent unauthenticated access from untrusted networks.
  • Implement application‑level checks for unexpected or malformed namespace values before they are processed by the driver, if a patch is not yet available.

Generated by OpenCVE AI on November 6, 2026 at 02:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Mongodb
Mongodb c Driver
Vendors & Products Mongodb
Mongodb c 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
Description The MongoDB C Driver does not validate the type or format of a namespace field returned by the server in a query response. A MongoDB endpoint that a client application connects to, without needing any credentials, can return a malformed value in that field. This causes the client application process to terminate, and can also cause the driver to read memory outside an allocated buffer and to send a small amount of the application's own uninitialized heap memory back to the endpoint in a follow-up command. The impact is limited to the process that embeds the driver.
Title remote abort and memory disclosure from a malformed cursor.ns
Weaknesses CWE-617
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Nov 3, 2026, 8:01 PM
Reserved
Nov 3, 2026, 3:27 AM
Status
Awaiting Analysis
Published
Nov 3, 2026, 7:18 PM
Modified
Nov 3, 2026, 8:18 PM
Severity
Important
Public date
Nov 3, 2026, 6:41 PM