JLSEC-2026-2359: Medium severity julia/mongoc_jll vulnerability
A memory-handling error in the BSON-to-JSON conversion helpers of the MongoDB C Driver can write a small number of bytes past the end of a heap buffer when a binary field is encoded and the output is cut short at a caller-configured length limit. A party who supplies the document content, with no privileges on the application that links the driver, may cause a small amount of data outside the intended buffer to be altered.
Affected Software
Event History
Frequently Asked Questions
What conditions are required for exploitation?
The application must use the BSON-to-JSON conversion helpers on a document containing a binary field and truncate the output at a caller-configured length limit. The party supplying the document content does not need privileges on the application using the driver.
What is the expected security impact?
The error can alter a small number of bytes beyond the intended heap buffer. The reported impact is limited to integrity; no confidentiality or availability impact is specified.
Which deployments are most exposed?
Applications linked with the MongoDB C Driver are exposed when they process attacker-supplied BSON documents through the affected conversion path with a configured output-length cutoff. The provided data does not establish whether any default configuration uses that cutoff.