remote abort and memory disclosure from a malformed cursor.ns

State
Published
Severity
7.1 High
Published
Nov 3, 2026
Updated
Nov 3, 2026
Reserved
Nov 3, 2026

Read the record on cve.org

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.

ProductVersions
C Driver MongoDB1.25.0 through 1.30.14 Affected2.0.0 through 2.5.7 Affected

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.