CVE-2026-106437
JSON

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 packageVersionsReported by
MongoDB C Driverfrom 1.4.0 before 1.30.13, from 2.0.0 before 2.5.6CVE List
mongodb c_driverfrom 1.4.0 before 1.30.13, from 2.0.0 before 2.5.6NVD

All scores

mongodb5.9medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
mongodb6.2medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
NVD7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-191

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

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

Sources

SourceRecordLicence
CVE ListCVE-2026-106437 changed 2026-10-08CVE Terms of Use
NVDCVE-2026-106437 changed 2026-10-27Public domain