Memory leak in MongoDB driver for C - CVE-2026-120678
Published: November 10, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause unbounded memory growth and a denial of service in applications using the MongoDB C Driver.
The vulnerability exists due to missing release of decompressed reply buffers in the MongoDB C Driver when parsing an OP_COMPRESSED response fails. A remote attacker can control the database endpoint a client connects to and repeatedly send compressed replies that fail to parse to exhaust application memory.
Affected software
Fedora
mongo-c-driver
How to mitigate CVE-2026-120678
mongo-c-driver - addressed in versions 1.30.15-1.el8, 1.30.15-1.el9, 1.30.15-1.el10_2, 1.30.15-1.fc43, 1.30.15-1.fc44, 2.5.8-1.el10_3, 2.5.8-1.el10_4, 2.5.8-1.fc45
External References
Related Security Bulletins
- Multiple vulnerabilities in MongoDB driver for C
- Fedora EPEL 9 update for mongo-c-driver
- Fedora EPEL 8 update for mongo-c-driver
- Fedora EPEL 10.2 update for mongo-c-driver
- Fedora 43 update for mongo-c-driver
- Fedora 44 update for mongo-c-driver
- Fedora EPEL 10.3 update for mongo-c-driver
- Fedora EPEL 10.4 update for mongo-c-driver
- Fedora 45 update for mongo-c-driver