1. Home
  2. Vulnerabilities
  3. CVE-2026-106437

CVE-2026-106437

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

Published 8 Oct 2026 · modified 27 Oct 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 34/100

Summary

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.

Affected products and versions

Mongodb (4 line(s))
Mongodb
ProductVersionsFixed inSource
C# driver from 1.4.0 (included) to 1.30.13 (excluded) — CNA (vendor or assigner)
C# driver from 2.0.0 (included) to 2.5.6 (excluded) — CNA (vendor or assigner)
C# driver from 1.4.0 (included) to 1.30.13 (excluded) — NVD
C# driver from 2.0.0 (included) to 2.5.6 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N (CVSS 3.1, NVD)
Weakness
CWE-191 · Corruption mémoire

How this data is obtained and calculated