CVE Catalog

CVE-2026-106431

MediumCVSS 5.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.10%

1th percentile - higher than 1% of all known CVEs

Summary

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.

Risk Assessment

An attacker can cause memory corruption or process termination, potentially leading to denial of service or data integrity compromise.

Recommendation

Upgrade the MongoDB C Driver to a patched version if available and ensure the application uses the BSON bulk-writer API with appropriate document sizes.

Other vulnerabilities in MongoDB C Driver

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS