# CVE-2026-106437: Out-of-bounds read and write via undersized BSON buffer reservation in MongoDB C Driver

- Severity: Medium 5.9 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-10-08T18:42:14.552Z
- Modified: 2026-10-27T19:56:50.867Z
- Weaknesses: CWE-191
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- MongoDB C Driver: from 1.4.0 before 1.30.13; from 2.0.0 before 2.5.6
- mongodb c_driver: from 1.4.0 before 1.30.13; from 2.0.0 before 2.5.6

## Every score

- mongodb: CVSS:4.0 5.9 Medium `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: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H`
- NVD: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://jira.mongodb.org/browse/CDRIVER-6423> (issue-tracking, vendor-advisory)

## Sources

- CVE List: [CVE-2026-106437](https://www.cve.org/CVERecord?id=CVE-2026-106437), CVE Terms of Use, modified 2026-10-08
- NVD: [CVE-2026-106437](https://nvd.nist.gov/vuln/detail/CVE-2026-106437), Public domain, modified 2026-10-27

---

Page: https://cve.day/CVE-2026-106437 · Whole record: https://cve.day/CVE-2026-106437.json · Rebuilt by cve.day 2026-11-25T22:59:43.209Z
