CVE 5.3 MEDIUM

bson_validate may skip validation when processing certain inputs_CVE-2026-6231

5.3 / 10
MEDIUM
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

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

Basic Information

ID CVE-2026-6231
Source mongodb
Published Apr 13, 2026 at 15:31

Affected Product

Vendor MongoDB Inc.
Product C Driver
Version 1.0
Affected Versions MongoDB Inc. C Driver 1.0
MongoDB Inc. C Driver 2.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.