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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://jira.mongodb.org/browse/CDRIVER-6423 Vendor Advisory, Issue Tracking
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 3
- Cpes+1 CPE criteria (now 1)NVD modified 2026-10-27 19:56
- StatusUndergoing Analysis → AnalyzedNVD modified 2026-10-27 19:56
- First seenCVSS 5.9NVD modified 2026-10-08 20:49
Affected (CPE criteria) 1
cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*
References 1
- https://jira.mongodb.org/browse/CDRIVER-6423 Vendor Advisory, Issue Tracking