All vulnerabilities
CVE-2026-114654GHSA-5h2q-6c9r-7x25

C# Driver: BSON output corruption via out-of-range binary subtype bypassing UUID and OldBinary guards

MongoDB C# DriverDatabases
CVSS
6.9Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.35%Chance of exploitation activity in the next 30 days, higher than 27% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in3.13.0Fixed versionCVE List
Published22 Oct 2026Updated 22 Oct 2026CVE List

What fixes it

  • 3.13.0C# DriverCVE List
  • 3.13.0MongoDB.Bson, nugetGitHubdotnet add package MongoDB.Bson --version 3.13.0

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

A numeric-type conversion flaw in the BSON handling library of the MongoDB C# Driver allows an out-of-range binary subtype value supplied through untrusted textual input to bypass the library's binary-element integrity checks. When such a value is later encoded, it is narrowed to a smaller wire representation, producing binary elements that misdeclare their type or length. An unauthenticated party able to supply text parsed by an affected application can cause it to emit and persist malformed binary data, which subsequent readers either reject with an error or silently interpret as shorter than the data that was validated.

Text from CVE List

Affected versions 2

  • C# Driveraffected: 2.0.0 before 3.13.0CVE List
  • MongoDB.Bson, nuget>= 2.0.0, < 3.13.0GitHub

References 3