CVE-2026-88035
JSON

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 packageVersionsReported by
MongoDB C Driverfrom 2.2.0 before 2.5.3CVE List
mongodb c_driverfrom 1.10.0 before 1.30.10, from 2.2.0 before 2.5.3NVD

All scores

mongodb5.7medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
mongodb4.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-190

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-88035 changed 2026-09-10CVE Terms of Use
NVDCVE-2026-88035 changed 2026-09-16Public domain