CVE-2026-120678 MongoDB C Driver leaks the decompressed reply buffer when an OP_COMPRESSED reply fails to parse (denial of service)
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-120678?
CVE-2026-120678 is a high-severity vulnerability in MongoDB C Driver, published on 3 Nov 2026.
Official 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.
Weakness: CWE-401
Which versions are affected by CVE-2026-120678?
How do I fix CVE-2026-120678?
Upgrade to a fixed version.
Is CVE-2026-120678 being exploited?
There is no known exploitation of CVE-2026-120678 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-120678, UBUNTU-CVE-2026-120678.