AI and data stack advisories

Severe, 6 weeks977Projects326

977 severe, 6 weeks · 326 projects

MongoDBCVE-2026-106437

MongoDB C Driver: integer underflow

MongoDB

CVE-2026-106437 · Published Oct 8, 2026 · updated Oct 27, 2026

Medium5.9
Fix: upgrade to 1.30.13 or later (2 fixed versions below)
MongoDB advisory

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 versions

PackageAffectedFixed in
C Driver
Product
>= 1.4.0, < 1.30.131.30.13
>= 2.0.0, < 2.5.62.5.6
Details and references
CVSS 4.0
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Severity from
the vendor (its own CVE record or advisory)
Weakness
CWE-191

More MongoDB advisories

All MongoDB