CVE-2026-106431: MongoDB C Driver · Out-of-bounds Write
Affects MongoDB C DriverSource CVE Database V5
Not known to be exploited · CVSS 5.9 Medium : upgrade to 2.5.6 or 1.30.13 when convenient.
Data as of 22 Nov 2026, 21:14 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.5.6, 1.30.13
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 8 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.
What to do
Upgrade MongoDB C Driver to 2.5.6 or 1.30.13.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MongoDBC Driver | Affected
| Fixed in
|
| MongoDBC Driver | Affected
| Fixed in
|
AI-suggested
If you cannot patch yet, avoid processing untrusted BSON documents that could trigger the boundary condition in the BSON bulk document writer.
Description
CVE-2026-106431 is an off-by-one out-of-bounds write vulnerability in the BSON bulk document writer component of the MongoDB C Driver. The flaw occurs when a document ends exactly at a specific buffer boundary, causing a single zero byte to be written just beyond the allocated heap memory. This can result in adjacent memory corruption or process termination if an attacker controls the size of serialized documents via the BSON bulk-writer API. The vulnerability affects MongoDB C Driver versions from 0.5.0 up to but not including 1.30.13, and from 2.0.0 up to but not including 2.5.6. The CVSS 4.0 base score is 5.9, indicating medium severity.