CVE Catalog

CVE-2026-6231

MediumCVSS 4.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.18%

8th percentile - higher than 8% of all known CVEs

Summary

The bson_validate function may return early on specific inputs and incorrectly report success. This could skip validation for BSON data, allowing malformed or invalid UTF-8 sequences to bypass validation and be processed incorrectly. The issue affects MongoDB C Driver versions prior to 1.30.5, and versions 2.0.0 and 2.0.1.

Risk Assessment

Applications relying on validation of untrusted BSON data may process malicious or corrupted data, potentially leading to errors or vulnerabilities in further processing.

Recommendation

Update MongoDB C Driver to version 1.30.5 or later (for the 1.x branch) or later than 2.0.1. Do not rely solely on bson_validate when processing untrusted data.

Other vulnerabilities in MongoDB C Driver

See all
Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS