Skip to main content

MongoDB C Driver CVE-2026-4359

| EUVDEUVD-2026-12640 LOW
Improper Neutralization of Null Byte or NUL Character (CWE-158)
2026-03-17 mongodb
2.0
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attain MitM position or compromise trusted cloud server
  2. Delivery
    Intercept outbound MongoDB C Driver HTTP request
  3. Exploit
    Inject malformed HTTP response containing null byte
  4. Execution
    Driver parser fails to neutralize character
  5. Persist
    Application process crashes
  6. Impact
    Service availability disrupted

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V14 - Configuration Dependency management, component inventory
Exploitation Conditions

Exploitation requires either (1) control of a third-party cloud server that the target application actively communicates with via the MongoDB C Driver, or (2) an established man-in-the-middle network position on the path between the application and its MongoDB endpoint. The CVSS 4.0 vector explicitly encodes these constraints: AC:H (high complexity), AT:P (specific attack prerequisites - MitM or compromised server must be in place), and PR:H (privileged infrastructure position for the attacker). UI:P indicates the application must issue a request that receives the malformed response, but no explicit end-user action is required beyond normal application operation. Impact is strictly limited to application crash; there is no pathway to confidentiality or integrity compromise. Versions 2.2.3 and later are confirmed unaffected by the vendor patch.

Impact

The CVSS 4.0 score of 2.0 accurately reflects the constrained realistic risk profile. AC:H and AT:P together confirm that exploitation requires both high attack complexity and specific attack prerequisites - specifically, the ability to either control a cloud server the application communicates with or establish a MitM position on the network path. PR:H in the official vector indicates the attacker must occupy a privileged infrastructure position, compounding the difficulty bar. Impact is exclusively VA:L (low availability on the vulnerable system), with no confidentiality or integrity exposure at either the vulnerable-system or subsequent-system level. EPSS at 0.03% (8th percentile) is consistent with no observed scanning or exploitation infrastructure targeting this flaw. The vulnerability is absent from CISA KEV and no POC has been identified. The practical risk is highest for applications interacting with external, partially untrusted MongoDB endpoints over uncontrolled network segments - for internally hosted, TLS-authenticated deployments the residual risk is minimal. This is a patch-and-move-on item rather than an emergency response priority for most environments.

Exploit ScenarioDerived

An attacker who has established a man-in-the-middle position between an application using the pre-2.2.3 MongoDB C Driver and its upstream cloud MongoDB endpoint intercepts an in-flight server response and replaces or injects a malformed HTTP payload containing a null byte or NUL character. The driver's response parser fails to neutralize the character, triggering a process crash or abort in the consuming application and producing a service disruption. No exploit code is publicly available, and successfully reaching the MitM position requires meaningful network infrastructure access.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Crash-inducing denial-of-service in the MongoDB C Driver (all versions before 2.2.3) allows a network-privileged adversary - either a compromised third-party cloud server the application trusts or a man-in-the-middle attacker on the network path - to crash the consuming application by delivering a malformed HTTP response. The vulnerability carries a CVSS 4.0 score of 2.0 due to high attack complexity, prerequisite network positioning, and impact limited strictly to low availability on the vulnerable system. No public exploit code exists and EPSS probability sits at 0.03% (8th percentile), indicating negligible observed exploitation activity at time of analysis.

RemediationAI

Upgrade to MongoDB C Driver version 2.2.3 or later, which contains the vendor-released patch per EUVD-2026-12640 and MongoDB JIRA CDRIVER-6251 (https://jira.mongodb.org/browse/CDRIVER-6251). For Debian-based systems, apply the distribution-provided package update for the tracked release; consult the Debian security tracker for per-release package versions. If an immediate upgrade is not operationally feasible, enforce TLS mutual authentication on all MongoDB connections to reduce the ability of compromised intermediaries to inject malformed responses - note this hardens the transport layer but does not eliminate the underlying parser flaw. Additionally, restricting the application's outbound MongoDB connectivity to fully trusted, internal endpoints via network access controls (firewall rules, VPC security groups) limits MitM exposure at the cost of constraining architectural flexibility. No specific feature can be disabled to remove the vulnerable code path, as the flaw lies in the core HTTP response parser.

Affected VersionsENISA

MongoDB C Driver 0 <2.2.3

Affected Packages

euvd mongodb_c_driver fix: 2.2.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The MongoDB C Driver (libmongoc), identified by CPE cpe:2.3:a:mongodb_inc:mongodb_c_driver:*:*:*:*:*:*:*:*, is a native C-language client library used by applications to communicate with MongoDB database instances, frequently in cloud-hosted architectures. The root cause is CWE-158 - Improper Neutralization of Null Byte or NUL Character - meaning the driver's HTTP response parsing logic fails to safely sanitize or reject null bytes or similarly malformed control characters embedded in server responses. Because the driver is written in C with no managed memory safety, such a parsing failure translates directly into a process crash or abort rather than a recoverable error condition. The flaw is triggered during the response-reading phase of the driver's communication with a MongoDB endpoint, not during connection setup or query construction.

Know when Mongodb C Driver gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 2.0 LOW
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
vuln.today AI 3.7 LOW

Network-delivered attack requiring MitM positioning (AC:H); no privileges on the target system itself; availability-only impact limited to application crash.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
High
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 17, 2026 - 19:42 nvd
LOW 2.0

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

CVE-2026-4359 is a low-severity vulnerability (CVSS 2.0). The limited severity suggests constrained impact, typically requiring specific conditions or local access for exploitation. Apply vendor updates when available as part of routine maintenance.

Business Impact: Low
Compensating Controls

Apply vendor patch during routine maintenance. Standard security controls provide adequate interim protection.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Prevalence
Medium
widely used C client library for MongoDB application integrations
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Related Vulnerabilities in MongoDB C Driver HTTP DoS and Use-After-Free

View all 2

Vendor StatusVendor

Debian

mongo-c-driver
Release Status Fixed Version Urgency
bullseye vulnerable 1.17.6-1 -
bullseye (security) vulnerable 1.17.6-1+deb11u2 -
bookworm vulnerable 1.23.1-1+deb12u2 -
trixie vulnerable 1.30.4-1+deb13u1 -
forky, sid fixed 2.2.3-1 -
(unstable) fixed 2.2.3-1 -

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy