Skip to main content
VulnerabilityPublished Updated

CVE-2026-6231: Mongo c driver · The bson_validate function may return early on specific inputs and incorrectly report

Affects mongo-c-driverSource GCVE Database

0
Compare
Authoritative record:CVE-2026-6231· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 25.10mongo-c-driverpkg:deb/ubuntu/mongo-c-driver?arch=source&distro=questingOther threatsAffected
  • =1.30.2-1
  • =1.30.4-1ubuntu1
Fixed in–
Ubuntu Pro 24.04 LTSmongo-c-driverpkg:deb/ubuntu/mongo-c-driver?arch=source&distro=esm-apps/nobleOther threatsAffected
  • 1.24.3-1 – 1.26.0-1.1ubuntu2+esm1
9 affected builds
Fixed in–
Ubuntu Pro 22.04 LTSmongo-c-driverpkg:deb/ubuntu/mongo-c-driver?arch=source&distro=esm-apps/jammyOther threatsAffected
  • 1.18.0-1 – 1.21.0-1ubuntu0.1~esm1
9 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSmongo-c-driverpkg:deb/ubuntu/mongo-c-driver?arch=source&distro=esm-apps/focalOther threatsAffected
  • 1.15.0-1 – 1.16.1-1ubuntu0.1~esm1
8 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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

References

Community reviews

Loading reviews…