high7.5
CVE-2026-120678
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.
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of outages.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| MongoDB | C Driver | from 1.25.0 through 1.30.14 from 2.0.0 through 2.5.7 |
| MongoDB Inc. | C Driver | Versions 1.25.0 ≤1.30.14, 2.0.0 ≤2.5.7 |