DEBIAN-CVE-2026-120956: 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 app…
- Source:
- OSV.dev
- Published:
- Fetched:
- Updated:
- Affects:
- debian 12:mongo-c-driver
https://osv.dev/vulnerability/DEBIAN-CVE-2026-120956 ↗
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: Debian:12:mongo-c-driver, Debian:13:mongo-c-driver, Debian:14:mongo-c-driver Fixed in: 1.30.4-1+deb13u5, 2.5.8-1 References: https://security-tracker.debian.org/tracker/CVE-2026-120956