CVE-2026-106437

Medium

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.

SeverityMedium
CVSS6.2
Exploit probability—
ProductMongodb C Driver
PublishedOct 8, 2026
First seenOct 8, 2026
Weakness typeCWE-191CWE-191

How to fix

Update
  • mongodb c_driver1.30.13, 2.5.6 or later

Affected products

ProductAffected versionsFixed in
mongodb c_driver1.4.0 ≤ v < 1.30.13, 2.0.0 ≤ v < 2.5.61.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.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.