Medium
Heap memory out of bounds read and crash in C Driver legacy GridFS file reader
Type: advisorySources: OSV
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).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-9100
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 18:22 UTC · Revision 1
Source evidence
Heap memory out of bounds read and crash in C Driver legacy GridFS file reader
core-osv · Original sourcePublished 20 May 2026, 15:55 UTC
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).
osv:CVE-2026-9100
Complete source record
{
"id": "f9e49b6557d1d980a3324eabfe699f406f3c7ee6cc39c7dbd04dff930b66cfaf",
"url": "https://osv.dev/vulnerability/CVE-2026-9100",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Heap memory out of bounds read and crash in C Driver legacy GridFS file reader",
"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 either crash (via a division-by-zero) or silently leak process memory contents (via an out-of-bounds read).",
"evidence": "osv:CVE-2026-9100",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-9100",
"aliases": [
"CVE-2026-9100"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mongodb/mongo-c-driver",
"type": "GIT",
"events": [
{
"introduced": "1cb8a16e863cea77a61530b832ed2c7c1dc5c065"
},
{
"fixed": "57dba9c04991e38124022e0f16c50b87bd9b29a1"
},
{
"introduced": "67817df0a9ed11b07e457477e6db1384da9421c4"
},
{
"fixed": "104e2f8337168126848db06b7e15f4c142a7426e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*",
"range": [
{
"introduced": "1.10.0"
},
{
"fixed": "1.30.8"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*",
"range": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.2.4"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-9100.json"
}
}
],
"modified": "2026-10-28T02:30:21.843324887Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9100.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-9100",
"https://jira.mongodb.org/browse/CDRIVER-6281"
],
"provider_metadata": {
"cwe_ids": [
"CWE-1285"
],
"cna_assigner": "mongodb",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "1.0"
},
{
"fixed": "1.30.8"
},
{
"introduced": "2.0"
},
{
"fixed": "2.2.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9100.json"
}
},
"related_cves": [
{
"value": "CVE-2026-9100",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 488287,
"published_at": "2026-05-20T15:55:13.154+00:00"
}