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
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.
| Product | Versions |
|---|---|
| C Driver MongoDB | 1.25.0 through 1.30.14 Affected2.0.0 through 2.5.7 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | mongodb | |
| 3.1 | 7.5 High | mongodb |
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.