- Home
- Vulnerabilities
- CVE-2026-106437
CVE-2026-106437
Out-of-bounds read and write via undersized BSON buffer reservation in MongoDB C Driver
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))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| 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
- — CVE published (cve)
References
- https://jira.mongodb.org/browse/CDRIVER-6423Vendor Advisory, Issue Tracking
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