JLSEC-2026-2346: Medium severity julia/mongoc_jll vulnerability
An off-by-one error in the BSON bulk document writer in the MongoDB C Driver can write one zero byte immediately past a heap allocation when a document ends at a specific buffer boundary. An actor who can influence the size of documents serialized by an embedding application can corrupt adjacent process memory or terminate the process. Reaching this issue requires the application to use the BSON bulk-writer API and produce a precise cumulative document size.
Affected Software
Event History
Frequently Asked Questions
Which applications are exposed to this issue?
Applications using julia/mongoc_jll are exposed only if they use the BSON bulk-writer API and serialize documents whose cumulative size reaches the specific buffer boundary required to trigger the off-by-one write.
What does an attacker need to exploit it?
An attacker must be able to influence the sizes of documents serialized by the embedding application. Exploitation also requires producing a precise cumulative document size, making the triggering condition high complexity.
What is the likely impact if the condition is triggered?
The bulk document writer can write a single zero byte immediately past a heap allocation. This may corrupt adjacent process memory or terminate the process; the stated impact includes integrity loss and high availability impact.