CVE-2026-106431

An off-by-one error in the BSON bulk document writer in the MongoDB C Driver can write one zero byte immediately past a heap allocation when a document ends at a specific buffer boundary. An actor who can influence the size of documents serialized by an embedding application can corrupt adjacent process memory or terminate the process. Reaching this issue requires the application to use the BSON bulk-writer API and produce a precise cumulative document size.
References
Link Resource
https://jira.mongodb.org/browse/CDRIVER-6418 Vendor Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*
cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*

History

17 Nov 2026, 20:03

Type Values Removed Values Added
CPE cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*
References () https://jira.mongodb.org/browse/CDRIVER-6418 - () https://jira.mongodb.org/browse/CDRIVER-6418 - Vendor Advisory
First Time Mongodb c Driver
Mongodb

08 Oct 2026, 19:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-08 19:16

Updated : 2026-11-17 20:03


NVD link : CVE-2026-106431

Mitre link : CVE-2026-106431

CVE.ORG link : CVE-2026-106431


JSON object : View

Products Affected

mongodb

  • c_driver
CWE
CWE-787

Out-of-bounds Write