CVE-2026-120684: MongoDB C Driver memory-initialization flaw in GridFS

CVE-2026-120684 · Severity: medium · CVSS 6.5 · Published 2026-11-03

The MongoDB C Driver contains a memory-initialization defect in its legacy GridFS file handling that can cause uninitialized memory from the application process to be written into the database. An attacker with write access to GridFS can trigger this flaw and later read back the uninitialized memory, potentially exposing sensitive information such as credentials or other confidential data stored in the application's memory.

Technologies: MongoDB C Driver. Vendors: MongoDB.

Quick answers

Is CVE-2026-120684 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-120684 being exploited in the wild.
How severe is CVE-2026-120684?
Medium severity, with a CVSS score of 6.5, published 3 November 2026.
Which products and versions are affected?
MongoDB C Driver <UNKNOWN>.
Is there a fix for CVE-2026-120684?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-120684 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-120684?
Check whether you run MongoDB C Driver at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A memory-initialization flaw in GridFS file handling allows uninitialized process memory to be treated as valid file content and stored on the server. A database user with write access can arrange conditions where an application appends to a malformed file, causing the uninitialized memory to be written to records the attacker can read, resulting in information disclosure of sensitive application data including credentials.

Affected products

  • MongoDB C Driver <UNKNOWN>

Timeline

  • 2026-11-03: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.