Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-106431
Published:October 08, 2026
Updated:October 09, 2026
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.
Affected Packages
libbson (CONDA):
Affected version(s) >=2.4.0 <2.5.6
Fix Suggestion:
Update to version 2.5.6
https://github.com/mongodb/mongo-c-driver.git (GITHUB):
Affected version(s) >=2.0.0 <2.5.6
Fix Suggestion:
Update to version 2.5.6
https://github.com/mongodb/mongo-c-driver.git (GITHUB):
Affected version(s) >=1.10.0 <1.30.13
Fix Suggestion:
Update to version 1.30.13
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.9
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.7
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
HIGH
Weakness Type (CWE)
Out-of-bounds Write