{"id":"CVE-2026-9100","state":"PUBLISHED","title":"Heap memory out of bounds read and crash in C Driver legacy GridFS file reader","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).","publishedAt":"2026-05-20T15:55:13.154Z","updatedAt":"2026-05-20T17:20:32.902Z","severity":{"score":6,"label":"Medium","version":"4.0","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","source":"mongodb"},"assigner":"mongodb","products":["MongoDB, Inc. C Driver"],"affected":[{"vendor":"MongoDB, Inc.","product":"C Driver","defaultStatus":"unaffected","versions":[{"version":"1.0","status":"affected","lessThan":"1.30.8","versionType":"custom"},{"version":"2.0","status":"affected","lessThan":"2.2.4","versionType":"custom"}]}],"references":["https://jira.mongodb.org/browse/CDRIVER-6281"],"weaknesses":["CWE-1285"],"ingestedAt":"2026-10-29T20:13:52.441Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/9xxx/CVE-2026-9100.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-9100","state":"PUBLISHED","datePublished":"2026-05-20T15:55:13.154Z","dateUpdated":"2026-05-20T17:20:32.902Z","assignerShortName":"mongodb","assignerOrgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateReserved":"2026-05-20T15:13:47.129Z"},"containers":{"cna":{"title":"Heap memory out of bounds read and crash in C Driver legacy GridFS file reader","descriptions":[{"lang":"en","value":"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)."}],"affected":[{"vendor":"MongoDB, Inc.","product":"C Driver","defaultStatus":"unaffected","versions":[{"version":"1.0","status":"affected","lessThan":"1.30.8","versionType":"custom"},{"version":"2.0","status":"affected","lessThan":"2.2.4","versionType":"custom"}]}],"references":[{"url":"https://jira.mongodb.org/browse/CDRIVER-6281","tags":["issue-tracking"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":6,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"HIGH","baseSeverity":"MEDIUM","baseScore":5.9,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1285","lang":"en","description":"CWE-1285: Improper Validation of Specified Index, Position, or Offset in Input","type":"CWE"}]}],"providerMetadata":{"shortName":"mongodb","orgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateUpdated":"2026-05-20T15:55:13.154Z"},"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 1.0.2"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-20T17:20:25.232387Z","id":"CVE-2026-9100","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-20T17:20:32.902Z"}}]}}}