MongoDB C Driver leaks the decompressed reply buffer when an OP_COMPRESSED reply fails to parse (denial of service)

State
Published
Severity
8.7 High
Published
Nov 3, 2026
Updated
Nov 3, 2026
Reserved
Nov 2, 2026

Read the record on cve.org

Description

A memory management flaw in the MongoDB C Driver's handling of compressed responses may cause the client library to hold on to memory that is never released. An unauthenticated party that controls the database endpoint a client application connects to may cause repeated, unbounded memory growth in that application, which may result in the application becoming unavailable. No credentials, transport security settings, or user interaction are required.

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

Weaknesses

  • CWE-401 Missing Release of Memory after Effective Lifetime

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.