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.
Am I affected?
Check a product version without an account, or sign in for saved inventory assessments.
Ask about this evidenceTimeline
- Published by NVD
- Last updated by NVD
Affected products
| Product | Versions |
|---|---|
Mongodb C DriverComponent identitycpe:2.3:a:mongodb:c_driver | from 0.5.0 before 1.30.13; from 2.0.0 before 2.5.6 |
Source evidence and freshness
Lifecycle: Analyzed. Technical severity: CVSS 4.0 · Provider: not recorded. Exploitation evidence and inventory applicability are separate assessments.