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
{
"sources": [
{
"imported": "2026-07-17T22:39:47.472Z",
"id": "CVE-2026-6231",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-6231",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-6231",
"modified": "2026-06-17T11:00:31.133Z",
"database_specific": {
"status": "Analyzed"
},
"published": "2026-04-13T16:16:36.570Z"
}
],
"license": "CC-BY-4.0"
}