{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-6231","id":"CVE-2026-6231","title":"bson_validate may skip validation when processing certain inputs","description":"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 Mo","descriptionLong":"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","published":"2026-04-13T15:31:55.735Z","updated":"2026-10-28T02:30:27.662854083Z","reserved":"2026-04-13T15:19:17.273Z","status":"Analyzed","rejected":false,"assigner":"mongodb","metric":{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"mongodb"},"metrics":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"mongodb"},{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"mongodb.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"mongodb"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"mongodb.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"}],"rating":"medium","products":["MongoDB Inc. C Driver"],"affectedProducts":[{"vendor":"MongoDB Inc.","product":"C Driver","defaultStatus":"unaffected","versions":[{"status":"affected","version":"1.0","lessThan":"1.30.5","versionType":"custom"},{"status":"affected","version":"2.0","lessThan":"2.0.2","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-20"],"aliases":[],"references":[{"url":"https://jira.mongodb.org/browse/CDRIVER-6017","tags":["issue-tracking","Issue Tracking","Patch","report"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6231.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6231","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00192,"epssPercentile":0.08922,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-6231","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6231","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-6231","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-6231","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["mongodb"],"critical":[],"attention":null}