Home

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

PUBLISHED Reserved 2026-04-13 | Published 2026-04-13 | Updated 2026-04-13 | Assigner mongodb




MEDIUM: 5.3CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

MEDIUM: 4.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Problem types

CWE-20 Improper input validation

Product status

Default status
unaffected

1.0 (custom) before 1.30.5
affected

2.0 (custom) before 2.0.2
affected

References

jira.mongodb.org/browse/CDRIVER-6017 issue-tracking

cve.org (CVE-2026-6231)

nvd.nist.gov (CVE-2026-6231)

Download JSON