CVE Catalog

CVE-2026-120956

HighCVSS 7.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.25%

17th percentile - higher than 17% of all known CVEs

Summary

The MongoDB C Driver does not validate the type or format of a namespace field returned by the server in a query response. A malicious or compromised MongoDB endpoint can return a malformed value, causing the client application process to terminate and the driver to read memory outside an allocated buffer and send a small amount of uninitialized heap memory back to the endpoint.

Risk Assessment

An attacker controlling the database endpoint can, without authentication, crash the application and leak fragments of process memory, potentially exposing sensitive data.

Recommendation

Upgrade the MongoDB C Driver to a version that validates the namespace field and limit trust in the database endpoints applications connect to.

Other vulnerabilities in MongoDB C Driver

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS