CVE-2026-120956
JSON

7.1high

remote abort and memory disclosure from a malformed cursor.ns

Severity
7.1high CVSS:4.0 by mongodb
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mongodb

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

Product or packageVersionsReported by
MongoDB C Driverfrom 1.25.0 up to 1.30.14, from 2.0.0 up to 2.5.7CVE List

All scores

mongodb7.1high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
mongodb7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

Classification

CWE-617

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120956 changed 2026-11-03CVE Terms of Use
NVDCVE-2026-120956 changed 2026-11-03Public domain