{"id":"CVE-2026-6231","published":"2026-04-13T15:31:55Z","modified":"2026-04-13T19:23:42Z","title":"bson_validate may skip validation when processing certain inputs","vendor":"MongoDB Inc.","product":"C Driver","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00192,"percentile":0.08988,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://jira.mongodb.org/browse/CDRIVER-6017","tags":["issue-tracking"]}],"priority":{"score":4.8,"factors":[{"name":"EPSS percentile","points":1.8},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"mongodb","affectedVersions":[{"vendor":"MongoDB Inc.","product":"C Driver","versions":[">= 1.0, < 1.30.5",">= 2.0, < 2.0.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-13T19:23:32.077669Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-22023","exploited":false,"provenance":"source"}}