VulnWatch by ve1ve2
medium 5.9 EPSS 0.15%

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…

Source:
NVD CVE API 2.0
Published:
Fetched:
Updated:
Affects:
atlassian

https://nvd.nist.gov/vuln/detail/CVE-2026-106431 ↗

CWE-787

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: https://jira.mongodb.org/browse/CDRIVER-6418

Linked vulnerabilities (1)

CVE-2026-106431 medium 5.9 EPSS 0.15% (p4) NVDCVE.org
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

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.

CWE: CWE-787NVD: Analyzed