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

- Severity: Medium 5.7 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-09-10T18:07:10.823Z
- Modified: 2026-09-16T18:08:46.303Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- MongoDB C Driver: from 2.2.0 before 2.5.3
- mongodb c_driver: from 1.10.0 before 1.30.10; from 2.2.0 before 2.5.3

## Every score

- mongodb: CVSS: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: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://jira.mongodb.org/browse/CDRIVER-6416> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-88035](https://www.cve.org/CVERecord?id=CVE-2026-88035), CVE Terms of Use, modified 2026-09-10
- NVD: [CVE-2026-88035](https://nvd.nist.gov/vuln/detail/CVE-2026-88035), Public domain, modified 2026-09-16

---

Page: https://cve.day/CVE-2026-88035 · Whole record: https://cve.day/CVE-2026-88035.json · Rebuilt by cve.day 2026-11-25T22:59:37.892Z
