Vulnerability 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 MongoDB C Driver versions prior to 1.30.5, MongoDB C Driver version 2.0.0 and MongoDB C Driver version 2.0.1
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mongodb | C Driver | < 1.30.5 |
Related Weaknesses (CWE)
References
- https://jira.mongodb.org/browse/CDRIVER-6017Issue TrackingPatch
FAQ
What is CVE-2026-6231?
CVE-2026-6231 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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 sequ...
How severe is CVE-2026-6231?
CVE-2026-6231 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-6231?
Check the references section above for vendor advisories and patch information. Affected products include: Mongodb C Driver.