NULL pointer dereference in MongoDB driver for C - CVE-2026-135134

 

NULL pointer dereference in MongoDB driver for C - CVE-2026-135134

Published: November 26, 2026


Vulnerability identifier: #VU170641
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-135134
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by terminating a client application that uses the MongoDB C Driver.

The vulnerability exists due to a null pointer dereference and an invalid memory release in the server discovery component when parsing server hello replies. A remote attacker can deliver a crafted discovery response from a server endpoint they control or by altering unencrypted network traffic to terminate the client application.


Affected software

MongoDB driver for C
Fedora
mongo-c-driver

How to mitigate CVE-2026-135134

Install security update from vendor's website.

MongoDB driver for C - addressed in versions 1.30.17, 2.5.10
mongo-c-driver - addressed in versions 1.30.17-1.el8, 1.30.17-1.el9, 1.30.17-1.fc43, 1.30.17-1.fc44, 2.5.10-1.el10_3, 2.5.10-1.el10_4, 2.5.10-1.fc45

External References

Related Security Bulletins