CVE-2026-106437
Description
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.
How to fix
- mongodb c_driver1.30.13, 2.5.6 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mongodb c_driver | 1.4.0 ≤ v < 1.30.13, 2.0.0 ≤ v < 2.5.6 | 1.30.13, 2.5.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.