mongo-c-driver: The BSON buffer-reservation API in the MongoDB C Driver can record a length smaller than the five-byte BSON minimum
CVE-2026-106437 is fixed in mongo-c-driver on 1 platform by DEBIAN-CVE-2026-106437 (version 2.5.6-1), released October 16, 2026. It is not reported as exploited. Patch Radar priority: High.
The BSON buffer-reservation API in the MongoDB C Driver can record a length smaller than the five-byte BSON minimum. Later append or comparison operations can underflow unsigned length calculations and read or write outside the document buffer. An actor who can influence the length supplied by an embedding application can cause the application to terminate or read or corrupt adjacent process memory. Reaching this issue requires the application to pass an undersized value to bson_reserve_buffer and then perform an affected operation.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| mongo-c-driver · Debian 14 | 2.5.6-1 | DEBIAN-CVE-2026-106437 | Oct 16, 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.