CVE-2026-106431

MEDIUM CVSS 4.0: 5.9 EPSS 0.15%
Updated Nov 17, 2026
MongoDB
Parameter Value
CVSS 5.9 (MEDIUM)
Affected Versions 0.5.0 — 2.5.6
Fixed In 1.30.13
Type CWE-787 (Out-of-bounds Write)
Vendor MongoDB
Public PoC No

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.

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
None
No 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:*:*
0.5.0 1.30.13
Mongodb C_Driver
cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*
2.0.0 2.5.6