CVE-2026-96746

Heap buffer overflow via mid-scan command list growth in client topology monitoring

Published Sep 24, 2026 CVSS 4.0 · 8.3 High EPSS < 1% KEV · Not listed
Description
An out-of-bounds write in the connection-monitoring logic of the MongoDB C Driver may allow an unauthenticated party who controls name resolution and the responses of the hosts named in a client's connection string to write beyond the end of a heap buffer. This may cause the application using the driver to terminate unexpectedly.

Analysis

AI-generated

Technical impact

An out‑of‑bounds write occurs in the connection‑monitoring logic of the MongoDB C Driver when an attacker controls name resolution and the responses of the hosts listed in a client’s connection string. The vulnerability allows the attacker to write beyond the end of a heap buffer, which may lead to an application crash and denial of service. The fault does not provide direct code execution but can terminate the host application unexpectedly.

Affected Systems

All releases of the MongoDB C Driver prior to version 1.30.12 of the 1.x series and prior to 2.5.5 of the 2.x series are vulnerable. The fix is incorporated in releases 1.30.12, 2.5.5, and later. There is no other vendor or product mentioned.

Risk and Exploitability

The CVSS score of 8.3 indicates high severity, and no EPSS data is available to gauge current exploitation likelihood. The vulnerability is not listed in CISA’s KEV catalogue. As inferred from the description, an unauthenticated attacker who can influence DNS or host resolution for a client’s connection string can trigger the exploit, making the attack vector a remote network based on name resolution manipulation. The risk is significant for services relying on the vulnerable driver, especially when exposed to untrusted networks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the MongoDB C Driver to version 1.30.12 or newer for 1.x releases, or to 2.5.5 or newer for 2.x releases, to apply the security fix.
  • If upgrading immediately is not possible, ensure DNS requests for the host names used in the connection string are resolved through a trusted DNS service and that the application is not exposed to untrusted network environments capable of spoofing DNS responses.
  • Validate that the application uses only supported, patched versions of the driver and review connection string configuration to limit host resolution to known, trusted hosts.

Generated by OpenCVE AI on September 25, 2026 at 07:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Mongodb
Mongodb c Driver
Vendors & Products Mongodb
Mongodb c Driver
Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description An out-of-bounds write in the connection-monitoring logic of the MongoDB C Driver may allow an unauthenticated party who controls name resolution and the responses of the hosts named in a client's connection string to write beyond the end of a heap buffer. This may cause the application using the driver to terminate unexpectedly.
Title Heap buffer overflow via mid-scan command list growth in client topology monitoring
Weaknesses CWE-787
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Sep 24, 2026, 6:18 PM
Reserved
Sep 23, 2026, 3:45 PM
Status
Awaiting Analysis
Published
Sep 24, 2026, 4:17 PM
Modified
Sep 24, 2026, 9:04 PM