CVE-2026-106431
Fixed in a distro release EPSS <1%CVSS 5.7
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.
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 |