Description
The MongoDB C Driver's legacy GridFS API accepts malformed file metadata from the database without adequate validation. Crafted documents in a GridFS collection may cause any application that reads those files via the legacy API to either crash (via a division-by-zero) or silently leak process memory contents (via an out-of-bounds read).
Metrics
CVSS 3.1 7.1/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| MongoDB, Inc. | C Driver | >= 1.0, < 1.30.8; >= 2.0, < 2.2.4 |
References
- https://jira.mongodb.org/browse/CDRIVER-6281Vendor Advisory
Timeline
- Published
- May 20, 2026
- Last modified
- Sep 24, 2026
- NVD status
- Analyzed