Use of uninitialized resource in MongoDB driver for C - CVE-2026-120684

 

Use of uninitialized resource in MongoDB driver for C - CVE-2026-120684

Published: November 10, 2026


Vulnerability identifier: #VU164409
CSH Severity: Low
CVSS v4: 6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-120684
CWE-ID: CWE-908
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to disclose sensitive application process memory, including credentials.

The vulnerability exists due to use of uninitialized memory in MongoDB C Driver's legacy GridFS file handling when an application appends to a file under attacker-arranged conditions. A remote user can manipulate files in shared storage with ordinary write access so that a subsequent application append stores uninitialized process memory as file content in records the user can read to obtain sensitive information.


Affected software

MongoDB driver for C
Fedora
mongo-c-driver

How to mitigate CVE-2026-120684

Install security update from vendor's website.

MongoDB driver for C - addressed in versions 1.30.15, 2.5.8
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