CVE-2026-120956 remote abort and memory disclosure from a malformed cursor.ns
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-120956?
CVE-2026-120956 is a high-severity vulnerability in MongoDB C Driver, published on 3 Nov 2026.
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.
Weakness: CWE-617
Which versions are affected by CVE-2026-120956?
How do I fix CVE-2026-120956?
Upgrade to a fixed version.
Is CVE-2026-120956 being exploited?
There is no known exploitation of CVE-2026-120956 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-120956, UBUNTU-CVE-2026-120956.