Off-by-One Error in MongoDB C Driver Exploits Buffer Vulnerability

MonitorDenial of service with local access.
5.9MEDIUM

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
C Driver 0.5.0 to below 1.30.13 is vulnerable
C Driver 2.0.0 to below 2.5.6 is vulnerable

Install the C Driver release that fixes your version line, or later:

1.30.132.5.6
Read the vendor advisory β†—
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

Use-After-Free Vulnerability in MongoDB Server's Replication Component

CVE-2026-118383
MongodbMongodb ServerπŸ˜„πŸ‘Ύ9.5CRITICAL

TLS Implementation Flaw in MongoDB on macOS for IPv6 Connections

CVE-2026-120808
MongodbMongodb Server9.1CRITICAL

Memory Exhaustion Vulnerability in MongoDB

CVE-2026-25611
MongoDBMongodb Server8.7HIGH
View more Mongodb vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V4

Score:
5.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None
.