Skip to main content
← All vulnerabilities
CVE-2026-88035

Heap buffer overflow via wrapped size check during SASL username canonicalization in MongoDB C Driver

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.5.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • MongoDB C Driver

    From 2.2.0 · fixed in 2.5.3

References 1

jira.mongodb.org