CVE-2026-106437

MEDIUM CVSS 4.0: 5.9 EPSS 0.13%
Updated Oct 27, 2026
MongoDB
Parameter Value
CVSS 5.9 (MEDIUM)
Affected Versions 1.4.0 — 2.5.6
Fixed In 1.30.13
Type CWE-191 (Integer Underflow)
Vendor MongoDB
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Mongodb C_Driver
cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*
1.4.0 1.30.13
Mongodb C_Driver
cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*
2.0.0 2.5.6