Description
A flaw in libmongoc's SCRAM authentication implementation caused the client to continue the authentication handshake and transmit the client proof even when a nonce mismatch was detected in the server's first message. An unauthorized party with a man-in-the-middle position could exploit this by injecting a crafted server-first-message containing a controlled salt and low iteration count, then capturing the resulting client proof to perform offline password cracking. This vulnerability is mitigated by TLS, which is standard in production deployments.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MongoDB | C Driver | 2.0.0 – < 2.3.2 | 2.3.2 |
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.4.0-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 26.04 LTS | mongo-c-driver | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | mongo-c-driver | No fix yet | — |
| Ubuntu Pro 22.04 LTS | mongo-c-driver | No fix yet | — |
| Ubuntu Pro 20.04 LTS | mongo-c-driver | No fix yet | — |
Advisories 1
- WID-SEC-2026-3453 MongoDB C Driver und Entity Framework Core Provider: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 17, 2026