Use-After-Free in MongoDB Server Classic Query Engine Plan Cache Leads to Information Disclosure and Denial of Service

State
Published
Severity
6.0 Medium
Published
Nov 10, 2026
Updated
Nov 13, 2026
Reserved
Nov 2, 2026

Read the record on cve.org

Description

A use-after-free issue exists in the MongoDB server’s classic query engine plan cache. Under certain query conditions, an unowned reference to data from an earlier command can be retained in cached plan statistics. After the originating memory is freed, a subsequent diagnostic command serializing those statistics can read freed heap memory, potentially returning sensitive server process memory contents to the authenticated client. Under certain heap reuse conditions, this may also cause the server to crash.

ProductVersions
MongoDB Server MongoDB9.0.0 to before 9.0.7 Affected8.3.0 to before 8.3.16 Affected8.0.0 to before 8.0.37 Affected7.0.0 to before 7.0.48 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.