Skip to content

C Driver

Out-of-bounds read and write via undersized BSON buffer reservation in MongoDB C Driver

CVE-2026-106437Published 8 Oct 2026, 18:42 UTC

Real-world risk

0.8/ 10Low

Routine

If the vulnerable configuration applies to you: 1.7

PreliminaryFrom the CVSS vector only · confidence low

CVSS

5.9

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from mongodb)

The BSON buffer-reservation API in the MongoDB C Driver can record a length smaller than the five-byte BSON minimum. Later append or comparison operations can underflow unsigned length calculations and read or write outside the document buffer. An actor who can influence the length supplied by an embedding application can cause the application to terminate or read or corrupt adjacent process memory. Reaching this issue requires the application to pass an undersized value to bson_reserve_buffer and then perform an affected operation.

Am I affected?

ProductAffected versions (from the sources)Fixed in
C DriverCommon>= 1.4.0, < 1.30.13; >= 2.0.0, < 2.5.61.30.13, 2.5.6

What to do

Update to a fixed version: 1.30.13, 2.5.6.

Why this score

FactorValueEvidence×
ImpactDenial of serviceCrash or resource exhaustion onlyFrom the CVSS vector0.40
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.1% chance of exploitation in 30 days (percentile 3), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.225
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.4 × prerequisites 0.225 × threat 0.850.765
  4. Rounded to one decimal between 0.1 and 100.8

How the score works

Exploitation and evidence timeline

  1. 8 Oct 2026 Published
  2. 3 Dec 2026 Risk 0.8 (cvss fallback)

Weakness

CWE-191

References

Get alerts for C Driver

Free email or text alerts when a vulnerability in C Driver reaches risk 8 or higher. Nothing else.