CVE-2026-106437
Fixed in a distro release EPSS <1%CVSS 6.2
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.
Products: mongodb c_driver
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | mongo-c-driver | no fix |
| Debian 13 | mongo-c-driver | no fix |
| Debian 14 | mongo-c-driver | 2.5.6-1 |
| Ubuntu 26.04 LTS | mongo-c-driver | no fix |
| Ubuntu 26.10 | mongo-c-driver | no fix |
| Ubuntu Pro 20.04 LTS | mongo-c-driver | no fix |
| Ubuntu Pro 22.04 LTS | mongo-c-driver | no fix |
| Ubuntu Pro 24.04 LTS | mongo-c-driver | no fix |