Off-by-One Error in MongoDB C Driver Exploits Buffer Vulnerability
CVE-2026-106431
Key Information:
- Vendor
Mongodb
- Status
- CVE ID
- CVE ID:
- CVE-2026-106431
- Vendor
- CVE Published:
- 8 October 2026
- Fixed in
- Fixed in:
- 1.30.13, 2.5.6
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- No: Needs local access
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Update to a fixed version
Install the C Driver release that fixes your version line, or later:
2Why it's rated "Monitor"
- Its CVSS severity is medium (5.9).
What is CVE-2026-106431?
A critical vulnerability exists in the MongoDB C Driver due to an off-by-one error in the BSON bulk document writer. This flaw allows for the potential writing of a zero byte immediately beyond allocated heap memory when a document concludes at a specific buffer boundary. Exploitations can occur if an attacker influences the size of the serialized documents, causing memory corruption or potentially terminating the application process. To be vulnerable, the application must utilize the BSON bulk-writer API and produce an exact total document size.
References
More Mongodb Vulnerabilities
Use-After-Free Vulnerability in MongoDB Server's Replication Component
TLS Implementation Flaw in MongoDB on macOS for IPv6 Connections
Memory Exhaustion Vulnerability in MongoDB
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction