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
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://jira.mongodb.org/browse/CDRIVER-6017 Issue Tracking, Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.3 · mongodbNVD modified 2026-10-26 22:10
Affected (CPE criteria) 1
cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*
References 1
- https://jira.mongodb.org/browse/CDRIVER-6017 Issue Tracking, Patch