JLSEC-2026-2361: Medium severity julia/mongoc_jll vulnerability
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/MongoC_jllto a version that resolves this vulnerability.Fixed in 1.30.8+0
Event History
Frequently Asked Questions
What access does an attacker need to exploit this issue?
An attacker needs the ability to place crafted malformed file metadata documents into a GridFS collection. The vulnerable application must then read those files through the legacy GridFS API.
Which applications are exposed?
Applications using julia/mongoc_jll are exposed when they read GridFS files through the MongoDB C Driver's legacy GridFS API. Applications that do not use that legacy API are not identified as affected by the available information.
What can happen when a crafted file is read?
Reading crafted metadata can crash the application through a division-by-zero condition or disclose process memory contents through an out-of-bounds read.