CVE-2026-6231
Published:April 13, 2026
Updated:April 23, 2026
The bson_validate function may return early on specific inputs and incorrectly report success. This behavior could result in skipping validation for BSON data, allowing malformed or invalid UTF-8 sequences to bypass validation and be processed incorrectly. The issue may affect applications that rely on these functions to validate untrusted BSON data before further processing. This issue affects MongoDB C Driver versions prior to 1.30.5, MongoDB C Driver version 2.0.0 and MongoDB C Driver version 2.0.1
Affected Packages
mongo-c-driver (CONAN):
Affected version(s) >=1.17.2 <1.30.5Fix Suggestion:
Update to version 1.30.5https://github.com/mongodb/mongo-c-driver.git (GITHUB):
Affected version(s) >=debian/1.2.1-1 <1.30.5Fix Suggestion:
Update to version 1.30.5https://github.com/mongodb/mongo-c-driver.git (GITHUB):
Affected version(s) >=2.0.0 <2.0.2Fix Suggestion:
Update to version 2.0.2Related ResourcesĀ (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Input Validation
EPSS
Base Score:
0.04