Out-of-bounds write in MongoDB driver for C - CVE-2026-96746

 

Out-of-bounds write in MongoDB driver for C - CVE-2026-96746

Published: September 24, 2026


Vulnerability identifier: #VU151939
CSH Severity: High
CVSS v4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-96746
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause the application using the driver to terminate unexpectedly.

The vulnerability exists due to an out-of-bounds write in the connection-monitoring logic when processing name-resolution results and responses from hosts named in a client's connection string. A remote attacker can control name resolution and responses from those hosts to cause the application using the driver to terminate unexpectedly.


Affected software

MongoDB driver for C

How to mitigate CVE-2026-96746

Install security update from vendor's website.

MongoDB driver for C - addressed in versions 1.30.12, 2.5.5

External References

Related Security Bulletins