Description
A heap-based buffer overflow exists in the TLS transport layer of the MongoDB C Driver when built with the Windows platform TLS backend. A remote endpoint that the client connects to can cause the driver to write uncontrolled data outside the bounds of a heap allocation while processing incoming encrypted traffic after the TLS handshake completes. No authentication or user interaction is required, because the affected processing occurs before any application-level authentication completes. Triggering this issue may lead to memory corruption in the client process, disclosure of adjacent heap memory, or termination of the process.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MongoDB | C Driver | 2.4.0, 2.3.0 – ≤ 2.3.3, 2.2.0 – ≤ 2.2.4, 2.1.0 – ≤ 2.1.2, 2.0.0 – ≤ 2.0.2, 1.30.0 – ≤ 1.30.8, 1.29.0 – ≤ 1.29.2, 1.28.0 – ≤ 1.28.1, 1.27.0 – ≤ 1.27.6, 1.26.0 – ≤ 1.26.2, 1.25.0 – ≤ 1.25.4, 1.24.0 – ≤ 1.24.4 | — |
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.5-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.10 | mongo-c-driver | No fix yet | — |
| 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 | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | mongo-c-driver | 1.30.14-r0 | — |
Advisories 1
- WID-SEC-2026-3453 MongoDB C Driver und Entity Framework Core Provider: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 17, 2026