CVE-2026-88035

published 10 Sep 2026 · updated 10 Sep 2026

Heap buffer overflow via wrapped size check during SASL username canonicalization in MongoDB C Driver

4.7MediumCVSS 4.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in C Driver 2.5.3.

A size check in the client-side authentication path of the MongoDB C Driver can wrap around, so an unusually large user-name value is accepted and copied past the end of a small buffer. A party able to set the driver's connection settings may cause the application that embeds the driver to terminate unexpectedly. Reaching this code requires a build in which the optional external SASL authentication backend is present and a connection configured to use it.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBC Driver>=2.2.0 <2.5.32.5.3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-88035 severity on Zeptric[![CVE-2026-88035](https://zeptric.io/badge/cve/CVE-2026-88035.svg)](https://zeptric.io/cve/CVE-2026-88035)