CVE-2026-120956
Published:November 03, 2026
Updated:November 04, 2026
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
https://github.com/mongodb/mongo-c-driver.git (GITHUB):
Affected version(s) >=2.0.0 <2.5.8Fix Suggestion:
Update to version 2.5.8https://github.com/mongodb/mongo-c-driver.git (GITHUB):
Affected version(s) >=0.94.0 <1.30.15 || >=1.0.0 <1.30.15Fix Suggestion:
Update to version 1.30.15Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Reachable Assertion
EPSS
Base Score:
0.25