CVE-2026-4359

Heap-buffer-over-read in _mongoc_http_send via strstr on non-null-terminated buffer

Published Mar 17, 2026 CVSS 4.0 · 2 Low EPSS < 1% KEV · Not listed
Description
A compromised third party cloud server or man-in-the-middle attacker could send a malformed HTTP response and cause a crash in applications using the MongoDB C driver.

Analysis

AI-generated

Technical impact

The vulnerability involves a heap‑buffer‑over‑read in the _mongoc_http_send function of the MongoDB C driver. A non‑null‑terminated buffer is passed to strstr, causing the function to read past the allocated memory. This memory access error results in an application crash. The primary impact is a denial of service, as the targeted process terminates unexpectedly. The weakness corresponds to out‑of‑bounds array access and improper string termination.

Affected Systems

Affected systems include MongoDB Inc's MongoDB C driver. No specific version range is listed in the advisory, so any instance of the driver that contains the _mongoc_http_send implementation is potentially vulnerable until a patch is applied.

Risk and Exploitability

The CVSS score is 2, indicating low severity, and the EPSS score is below 1%, suggesting that exploitation is unlikely at present. It is not listed in the CISA KEV catalog. The likely attack vector is remote, where a compromised third‑party cloud server or a man‑in‑the‑middle attacker can send a crafted HTTP response to trigger the crash. Once executed, the crash leads to a denial of service without providing confidentiality or integrity impact.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest MongoDB C driver version that includes the fix.
  • If upgrade is not immediately possible, enable any available runtime memory‑check or security flags to mitigate accidental over‑read.
  • Validate incoming HTTP responses or use a proxy to sanitize responses before they reach the driver.
  • Monitor vendor announcements and apply any hotfixes as soon as they become available.

Generated by OpenCVE AI on April 2, 2026 at 13:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb c Driver
Weaknesses CWE-170
Vendors & Products Mongodb
Mongodb c Driver
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Description A compromised third party cloud server or man-in-the-middle attacker could send a malformed HTTP response and cause a crash in applications using the MongoDB C driver.
Title Heap-buffer-over-read in _mongoc_http_send via strstr on non-null-terminated buffer
Weaknesses CWE-158
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Mar 18, 2026, 8:00 PM
Reserved
Mar 17, 2026, 7:11 PM
Status
Analyzed
Published
Mar 17, 2026, 8:16 PM
Modified
Jun 17, 2026, 10:56 AM
Severity
Moderate
Public date
Mar 17, 2026, 7:42 PM