7.5

CVE-2026-6231: bson_validate may skip validation when processing certain inputs

Analyzed
AliasesUBUNTU-CVE-2026-6231DEBIAN-CVE-2026-6231
Published 13-04-2026Last modified 13-04-2026

Vulnerability summary

CVE-2026-6231 is a high (CVSS 7.5) Improper Input Validation vulnerability in mongodb inc. c driver. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 9.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.20%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 13-04-2026
    PublishedVulnerability first disclosed.
  2. 13-04-2026
    Last modifiedVulnerability information updated.

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

CVSS metrics

7 scores · 4 sources · 2 versions

EPSS trend

Probability

0.20%

Chance of exploitation in the next 30 days

Percentile

10%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.18% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • mongo-c-driver< 1.23.1-1+deb12u3 | < 1.30.4-1+deb13u2 | < 2.1.0-1
Mongodb1 product
Mongodb inc.1 product
  • c driver≥ 1.0, < 1.30.5 | ≥ 2.0, < 2.0.2
Ubuntu1 product
  • mongo-c-driverAll versions (No fix recorded)

4 vendors · 4 products

References

4 links