High · published September 18, 2026
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.
| Product | Versions | Fixed in |
|---|---|---|
| mongodb/c_driver | ≥ 1.10.0, < 1.30.11 | 1.30.11 |
| mongodb/c_driver | ≥ 2.2.0, < 2.5.4 | 2.5.4 |