CVE-2026-9100 PUBLISHED

Heap memory out of bounds read and crash in C Driver legacy GridFS file reader

Assigner: mongodb
Reserved: 20.05.2026 Published: 20.05.2026 Updated: 20.05.2026

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 Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 6

Product Status

Vendor MongoDB, Inc.
Product C Driver
Versions Default: unaffected
  • affected from 1.0 to 1.30.8 (excl.)
  • affected from 2.0 to 2.2.4 (excl.)

References

Problem Types

  • CWE-1285: Improper Validation of Specified Index, Position, or Offset in Input CWE