MongoDB C Driver 2.5.5 GridFS gap lets arotected client's password
Summary
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 ap...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MongoDBC Driver |
1.25.0 – 1.30.14→ Not listed 2.0.0 – 2.5.7→ Not listed |
Not listed Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-120684 mongo-c-driver Fix available
- Ubuntu UBUNTU-CVE-2026-120684 mongo-c-driver No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- web cna@mongodb.com