Description
A memory-initialization flaw in the legacy GridFS file handling of the MongoDB C Driver can cause uninitialized process memory to be treated as valid file content and stored on the server. A database user holding ordinary write access to a shared storage area can arrange conditions under which an application later appends to such a file and writes that memory into records the same user is permitted to read, which may result in unintended disclosure of sensitive information from the application's process, including credentials.
Published: 2026-11-03
Score: 6 Medium
EPSS: n/a
KEV: No
Impact: Sensitive Data Disclosure
Action: Apply Patch
AI Analysis

Impact

A memory‑initialization flaw in the legacy GridFS file handling of the MongoDB C Driver can treat uninitialized process memory as valid file content and persist it on the server. If a database user with ordinary write access to a shared storage area arranges that an application subsequently appends to such a file, the driver may write that leaked memory into records the user can then read, exposing sensitive information such as credentials or other secrets.

Affected Systems

MongoDB C Driver version 2.5.5 is affected. The vulnerability is specific to the legacy GridFS implementation in that release.

Risk and Exploitability

The CVSS score of 6.0 indicates a medium severity confidentiality risk. The EPSS score is not available, and the flaw is not listed in the CISA KEV catalog, suggesting no widely known public exploits yet. Exploitation requires a legitimate write operation to a shared GridFS area; the attacker would need to be a database user with normal write rights. Once the uninitialized data is persisted, any subsequent read by the same user or other authorized users could disclose sensitive data from the application’s process space. No denial‑of‑service or code execution is possible according to the description.

Generated by OpenCVE AI on November 3, 2026 at 20:42 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the MongoDB C Driver to version 2.5.6 or later, which removes the uninitialized memory handling bug.
  • During the update, verify that the application no longer writes uninitialized data to GridFS files.
  • Restrict write permissions on shared GridFS areas to only users who must create or modify files, and consider separating read‑only and write‑only collections.
  • Audit application logs for unexpected file writes that could indicate exploitation attempts.

Generated by OpenCVE AI on November 3, 2026 at 20:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 03 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 03 Nov 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb c Driver
Vendors & Products Mongodb
Mongodb c Driver

Tue, 03 Nov 2026 20:00:00 +0000

Type Values Removed Values Added
Title MongoDB C Driver 2.5.5 GridFS gap lets arotected client's password MongoDB C Driver GridFS gap lets a shared writer recover a protected client's password

Tue, 03 Nov 2026 19:00:00 +0000

Type Values Removed Values Added
Description A memory-initialization flaw in the legacy GridFS file handling of the MongoDB C Driver can cause uninitialized process memory to be treated as valid file content and stored on the server. A database user holding ordinary write access to a shared storage area can arrange conditions under which an application later appends to such a file and writes that memory into records the same user is permitted to read, which may result in unintended disclosure of sensitive information from the application's process, including credentials.
Title MongoDB C Driver 2.5.5 GridFS gap lets arotected client's password
Weaknesses CWE-908
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 6, 'vector': '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'}


Subscriptions

Mongodb C Driver
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-11-03T20:11:10.303Z

Reserved: 2026-11-02T19:16:03.738Z

Link: CVE-2026-120684

cve-icon Vulnrichment

Updated: 2026-11-03T20:11:04.833Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-03T19:18:00.080

Modified: 2026-11-03T21:17:04.137

Link: CVE-2026-120684

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-03T20:45:01Z

Weaknesses
  • CWE-908

    Use of Uninitialized Resource