Input Validation Flaw in MongoDB C Driver Potentially Exposing Data
CVE-2026-6231
5.3MEDIUM
What is CVE-2026-6231?
The bson_validate function within the MongoDB C Driver contains an input validation flaw that can lead to improper handling of untrusted BSON data. This vulnerability allows malicious actors to input malformed or invalid UTF-8 sequences that bypass the expected validation checks. As a result, applications relying on this driver for BSON validation may unknowingly process unauthorized data, potentially exposing them to further security risks. Upgrading to the latest versions is crucial for ensuring proper validation and maintaining data integrity.
Affected Version(s)
C Driver 1.0 < 1.30.5
C Driver 2.0 < 2.0.2