Description
A memory management flaw in the MongoDB C Driver's handling of compressed responses may cause the client library to hold on to memory that is never released. An unauthenticated party that controls the database endpoint a client application connects to may cause repeated, unbounded memory growth in that application, which may result in the application becoming unavailable. No credentials, transport security settings, or user interaction are required.
Published: 2026-11-03
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Patch Now
AI Analysis

Impact

The MongoDB C Driver contains a memory management flaw in the handling of compressed responses. When an OP_COMPRESSED reply from a MongoDB server cannot be parsed, the driver erroneously retains the decompressed reply buffer and never releases it. An unauthenticated user that controls the database endpoint can send malformed or repeated compressed replies, causing the client library to consume increasingly large amounts of memory until the application exhausts available resources and becomes unavailable. No credentials or transport security settings are required for an attacker to exploit the vulnerability, which can be triggered purely through normal client-server communication.

Affected Systems

MongoDB C Driver; affected across all supported versions. Specific version ranges are not disclosed in the available data.

Risk and Exploitability

The CVSS score is 8.7, indicating high severity. EPSS score is unavailable, and the vulnerability is not listed in CISA KEV. The attack vector requires only that an application connect to a compromised or malicious MongoDB endpoint, with no authentication or user interaction needed. While the precise probability is not quantified, the lack of authentication barriers means the exploitation likelihood is non-negligible, and the resource exhaustion can lead to application unavailability.

Generated by OpenCVE AI on November 3, 2026 at 20:22 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest MongoDB C Driver release that fixes the memory leak in compressed reply handling.
  • If an upgrade cannot be deployed immediately, disable the use of OP_COMPRESSED responses on the server or configure the driver to reject malformed compressed replies, limiting the attacker’s ability to trigger the leak.
  • Implement runtime memory usage monitoring and enforce resource limits or watchdog mechanisms in the client application so that unbounded memory growth is detected and the application is restarted or the connection is severed before it leads to a complete service outage.

Generated by OpenCVE AI on November 3, 2026 at 20:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 03 Nov 2026 20:15:00 +0000

Type Values Removed Values Added
Title mongo-c-driver leaks the decompressed reply buffer when an OP_COMPRESSED reply fails to parse (denial of service) MongoDB C Driver leaks the decompressed reply buffer when an OP_COMPRESSED reply fails to parse (denial of service)

Tue, 03 Nov 2026 19:00:00 +0000

Type Values Removed Values Added
Description A memory management flaw in the MongoDB C Driver's handling of compressed responses may cause the client library to hold on to memory that is never released. An unauthenticated party that controls the database endpoint a client application connects to may cause repeated, unbounded memory growth in that application, which may result in the application becoming unavailable. No credentials, transport security settings, or user interaction are required.
Title mongo-c-driver leaks the decompressed reply buffer when an OP_COMPRESSED reply fails to parse (denial of service)
Weaknesses CWE-401
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-11-03T20:11:43.371Z

Reserved: 2026-11-02T19:09:10.643Z

Link: CVE-2026-120678

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-03T19:17:59.880

Modified: 2026-11-03T19:55:17.180

Link: CVE-2026-120678

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-03T20:30:12Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime