CVE-2026-106437

published 8 Oct 2026 · updated 16 Nov 2026

Out-of-bounds read and write via undersized BSON buffer reservation in MongoDB C Driver

6.2MediumCVSS 6.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in C Driver 1.30.13 and C Driver 2.5.6.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBC Driver>=1.4.0 <1.30.13, >=2.0.0 <2.5.61.30.13, 2.5.6

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-106437 severity on Zeptric[![CVE-2026-106437](https://zeptric.io/badge/cve/CVE-2026-106437.svg)](https://zeptric.io/cve/CVE-2026-106437)