CVE-2026-6231

mongo-c-driver: The bson_validate function may return early on specific inputs and incorrectly report success

CVE-2026-6231 is fixed in mongo-c-driver on 1 platform, first by DEBIAN-CVE-2026-6231, released April 13, 2026. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.5
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0018
8th percentile

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

Where it's fixed

ProductFixed inFixReleased
Linux
mongo-c-driver · Debian 12.15 (bookworm) 1.23.1-1+deb12u3 DEBIAN-CVE-2026-6231 Apr 13, 2026
mongo-c-driver · Debian 13.5 (trixie) 1.30.4-1+deb13u2 DEBIAN-CVE-2026-6231 Apr 13, 2026
mongo-c-driver · Debian 14 2.1.0-1 DEBIAN-CVE-2026-6231 Apr 13, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.