Heap-based buffer overflow in MongoDB driver for C - CVE-2026-88035

 

Heap-based buffer overflow in MongoDB driver for C - CVE-2026-88035

Published: September 22, 2026


Vulnerability identifier: #VU151670
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-88035
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to cause a denial of service.

The vulnerability exists due to a heap-based buffer overflow in the SASL username canonicalization logic when processing an unusually large username value in the driver's connection settings. A local user can configure the driver's connection settings with an unusually large username to cause a denial of service.

Exploitation requires a build with the optional external SASL authentication backend and a connection configured to use it.


Affected software

MongoDB driver for C
Fedora
mongo-c-driver

How to mitigate CVE-2026-88035

Install security update from vendor's website.

MongoDB driver for C - update to 2.5.3
mongo-c-driver - addressed in versions 1.30.10-1.el9, 1.30.10-1.el10_2, 1.30.10-1.fc43, 1.30.10-1.fc44, 1.30.11-1.el8, 1.30.11-1.el9, 1.30.11-1.fc43, 1.30.11-1.fc44, 2.5.3-1.el10_3, 2.5.3-1.fc45, 2.5.4-1.el10_3, 2.5.4-1.el10_4, 2.5.4-1.fc45

External References

Related Security Bulletins