CVE-2026-88035
5.7medium
Heap buffer overflow via wrapped size check during SASL username canonicalization in MongoDB C Driver
- Severity
- 5.7medium CVSS:4.0 by mongodb
- Exploit likelihood
- 0.10% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB C Driver | from 2.2.0 before 2.5.3 | CVE List |
| mongodb c_driver | from 1.10.0 before 1.30.10, from 2.2.0 before 2.5.3 | NVD |
All scores
| mongodb | 5.7medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| mongodb | 4.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://jira.mongodb.org/browse/CDRIVER-6416 | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-88035 changed 2026-09-10 | CVE Terms of Use |
| NVD | CVE-2026-88035 changed 2026-09-16 | Public domain |