CVE-2026-88035
Heap buffer overflow via wrapped size check during SASL username canonicalization in MongoDB C Driver
- State
- Published
- Severity
- 5.7 Medium
- Published
- Sep 10, 2026
- Updated
- Sep 10, 2026
- Reserved
- Sep 9, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.7 Medium | 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 |
| 3.1 | 4.7 Medium | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H | mongodb |
Weaknesses
- CWE-190 Integer Overflow or Wraparound
Affected Products
| Product | Versions |
|---|---|
C DriverMongoDB |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.