Improper Check for Unusual or Exceptional Conditions Affecting mongo-c-driver package, versions [,1.30.6)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-MONGOCDRIVER-16325201
  • published1 May 2026
  • disclosed13 Apr 2026
  • creditUnknown

Introduced: 13 Apr 2026

CVE-2026-6231  (opens in a new tab)
CWE-754  (opens in a new tab)

How to fix?

Upgrade mongo-c-driver to version 1.30.6 or higher.

Overview

Affected versions of this package are vulnerable to Improper Check for Unusual or Exceptional Conditions in the bson_validate function. An attacker can cause malformed or invalid UTF-8 sequences to bypass validation and be processed incorrectly by submitting specially crafted BSON data to applications that rely on this function for input validation.

CVSS Base Scores

version 4.0
version 3.1