CVE-2026-9100

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

State
Published
Severity
6.0 Medium
Published
May 20, 2026
Updated
May 20, 2026
Reserved
May 20, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
4.06.0 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:Nmongodb
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:Hmongodb

Weaknesses

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

Affected Products

ProductVersions
C DriverMongoDB, Inc.
  • 1.0 to before 1.30.8Affected
  • 2.0 to before 2.2.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.