mongo-c-driver: A missing lower-bound validation in the bson_new_from_buffer() function of libbson allows an integer underflow when p...
CVE-2026-93395 is fixed in mongo-c-driver on 1 platform by DEBIAN-CVE-2026-93395 (version 2.4.0-1), released September 18, 2026. It is not reported as exploited. Patch Radar priority: Routine.
A missing lower-bound validation in the bson_new_from_buffer() function of libbson allows an integer underflow when processing BSON data with a zero-length prefix. The function reads a 32-bit document length from the input buffer but does not verify that the value is at least 5 (the minimum valid BSON document size) before using it in an array index calculation. When the length field is zero, the expression used to check the document's null terminator wraps to UINT32_MAX, causing a heap out-of-bounds read that crashes the process. An unauthorized party who can supply crafted BSON input to an application using this API can cause a denial of service.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| mongo-c-driver · Debian 14 | 2.4.0-1 | DEBIAN-CVE-2026-93395 | Sep 18, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.