Vulnerability · Published Nov 3, 2026 · Assigned by mongodb

CVE-2026-120956remote abort and memory disclosure from a malformed cursor.ns

High 7.1

In plain English

A high-severity security flaw in C Driver from MongoDB. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities).

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)0.3%top 83.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12mongo-c-driverno fix listedDEBIAN-CVE-2026-120956
Debian:13mongo-c-driverno fix listedDEBIAN-CVE-2026-120956
Debian:14mongo-c-driverno fix listedDEBIAN-CVE-2026-120956
Ubuntu:26.04:LTSmongo-c-driverno fix listedUBUNTU-CVE-2026-120956
Ubuntu:26.10mongo-c-driverno fix listedUBUNTU-CVE-2026-120956

Affected products (as reported)

VendorProductVersions
MongoDB C Driver 1.25.0 – through 1.30.142.0.0 – through 2.5.7

Weakness: CWE-617 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

References