The MongoDB C Driver's legacy GridFS API accepts...
Moderate severity
Unreviewed
Published
May 20, 2026
to the GitHub Advisory Database
•
Updated May 20, 2026
Description
Published by the National Vulnerability Database
May 20, 2026
Published to the GitHub Advisory Database
May 20, 2026
Last updated
May 20, 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).
References