Heap buffer overflow via wrapped size check during SASL username canonicalization in MongoDB C Driver
cve-program · CVE-2026-88035
PublishedA 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-88035 · CVE overview and exploitation status
cve-program · CVE-2026-88035
Related changes
Linked by CVE identifierNo related changes are available here.