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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MongoDB | C Driver | 2.2.0 – < 2.5.3 | 2.5.3 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mongo-c-driver | 2.5.3-1 | — |
| Debian 13 | mongo-c-driver | No fix yet | — |
| Debian 12 | mongo-c-driver | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | mongodb | No fix yet | — |
| Ubuntu Pro 18.04 LTS | mongodb | No fix yet | — |
| Ubuntu Pro 16.04 LTS | mongodb | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | mongodb | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | mongo-c-driver | 2.5.3-1.1 | openSUSE-SU-2026:11767-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | mongo-c-driver | 1.30.14-r0 | — |
Advisories 2
- WID-SEC-2026-3320 MongoDB: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026
- openSUSE-SU-2026:11767-1 bson-devel-2.5.3-1.1 on GA media SUSE / openSUSE Security Updates · Sep 13, 2026