MongoDB, Inc. C Driver
Heap memory out of bounds read and crash in C Driver legacy GridFS file reader
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).
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.1high · scored by NVD · CWE-1285
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
MongoDB, Inc. C Driver
- >= 1.0, < 1.30.8
- >= 2.0, < 2.2.4
Fixed in 1.30.8, 2.2.4
Mitigation
Upgrade C Driver to 1.30.8 or 2.2.4 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.