CVE-2026-6231

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
References
Link Resource
https://jira.mongodb.org/browse/CDRIVER-6017 Issue Tracking Patch
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*
cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*

History

26 Oct 2026, 22:10

Type Values Removed Values Added
Summary
  • (es) La función bson_validate puede retornar prematuramente con entradas específicas e informar incorrectamente éxito. Este comportamiento podría resultar en omitir la validación para datos BSON, permitiendo que secuencias UTF-8 malformadas o inválidas eludan la validación y sean procesadas incorrectamente. El problema puede afectar a aplicaciones que dependen de estas funciones para validar datos BSON no confiables antes de un procesamiento posterior. Este problema afecta a las versiones del controlador C de MongoDB anteriores a la 1.30.5, la versión 2.0.0 del controlador C de MongoDB y la versión 2.0.1 del controlador C de MongoDB.

Information

Published : 2026-04-13 16:16

Updated : 2026-10-26 22:10


NVD link : CVE-2026-6231

Mitre link : CVE-2026-6231

CVE.ORG link : CVE-2026-6231


JSON object : View

Products Affected

mongodb

  • c_driver
CWE
CWE-20

Improper Input Validation

NVD-CWE-noinfo