CVE-2026-88035: Heap buffer overflow via wrapped size check during SASL username canonicalization in MongoDB C Driver

Published Sep 10, 2026
·
Updated

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 Software

1 affected component
MongoDB MongoDB C driver

Event History

Sep 10, 2026
CVE Published
via MITRE·06:07 PM
Data Sourced
via MITRE·06:07 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Exposure requires a MongoDB C Driver build with the optional external SASL authentication backend present, and a connection configured to use that backend. Deployments without that build option or without such a connection configuration do not reach the affected code path.

2

What level of access does an attacker need?

The attacker must be able to set the driver's connection settings and supply an unusually large user-name value. The provided information indicates the consequence is unexpected termination of the application embedding the driver.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203