Live › vulnerability › CVE-2026-120956
The MongoDB C Driver does not check the type or format of a namespace field in query responses. A malicious or impersonated MongoDB endpoint can send a malformed value that crashes the client process, reads memory outside a buffer, and returns a small amount of the application's uninitialized heap memory to the server.
Summary written from the sources below. Check the originals before acting.
First seen by InfraStack 2026-11-03 19:44 UTC. All times on this page are UTC.
Applications that embed the MongoDB C Driver and connect to a MongoDB endpoint that can return responses to them. The sources say no credentials are needed on the attacker's side, so any client that connects to an untrusted or spoofed endpoint is in scope. Teams that only use MongoDB through other language drivers or managed services that do not embed this C library can skip it.
| Product | Ecosystem | Affected | Fixed in |
|---|---|---|---|
| libmongoc | vendor | >= 1.25.0, <= 1.30.14 || >= 2.0.0, <= 2.5.7 | 1.30.15, 2.5.8 |
pkg-config --modversion libmongoc-1.0 (or libmongoc-2.0 for 2.x), or check mongoc_get_version() / the vendored copy in your build1.25.0 to 1.30.14 and to 2.0.02.5.72.5.8 (2.x line) or 1.30.15 (1.x line)Each row is the first time that source carried this signal. The analyst’s rows are its own findings.
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.
This page as .md · .json · in your agent: get_signal("CVE-2026-120956")
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.