CVE-2026-106437
5.9medium
Out-of-bounds read and write via undersized BSON buffer reservation in MongoDB C Driver
- Severity
- 5.9medium CVSS:4.0 by mongodb
- Exploit likelihood
- 0.13% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB C Driver | from 1.4.0 before 1.30.13, from 2.0.0 before 2.5.6 | CVE List |
| mongodb c_driver | from 1.4.0 before 1.30.13, from 2.0.0 before 2.5.6 | NVD |
All scores
| mongodb | 5.9medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N |
| mongodb | 6.2medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H |
| NVD | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://jira.mongodb.org/browse/CDRIVER-6423 | issue-tracking, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-106437 changed 2026-10-08 | CVE Terms of Use |
| NVD | CVE-2026-106437 changed 2026-10-27 | Public domain |