---
id: CVE-2026-9100
title: >-
  The MongoDB C Driver's legacy GridFS API accepts malformed file metadata from
  the database without adequate validation
summary: >-
  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 eithe…
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H'
cwe:
  - CWE-1285
published: '2026-05-20'
updated: '2026-07-23'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-9100'
references:
  - url: 'https://jira.mongodb.org/browse/CDRIVER-6281'
    label: cna@mongodb.com
tags:
  - nvd
epss: 0.00295
epssPercentile: 0.22323
ingestedAt: '2026-07-23T12:17:55.502Z'
---

## Overview

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).

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
