Skip to main content

MongoDB C Driver CVE-2026-88035

| EUVDEUVD-2026-75671 MEDIUM
Integer Overflow or Wraparound (CWE-190)
2026-09-10 mongodb GHSA-jgj9-g5rr-w8xg
5.7
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Recon
    Gain ability to supply connection settings (PR:L)
  2. Delivery
    Craft abnormally large username value
  3. Exploit
    Submit to SASL-enabled driver connection
  4. Install
    Integer overflow wraps size check
  5. C2
    Oversized copy writes past buffer end
  6. Execute
    Memory corruption
  7. Impact
    Host application crash (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Two non-default conditions must simultaneously be satisfied: (1) the MongoDB C Driver must have been built with the optional external SASL authentication backend compiled in - this is not a default build option; and (2) the targeted connection must be configured to use SASL authentication specifically. Additionally, the attacker must be able to supply or meaningfully influence the username value presented to the driver's connection settings (mapped as PR:L in CVSS). Limiting factors: applications using default MongoDB authentication mechanisms (SCRAM-SHA-1/256) are entirely unaffected; the impact is availability-only with no data exposure; and the exploit requires local or application-layer access to connection settings rather than raw network access.

Impact

The CVSS 4.0 score of 5.7 (AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H) appropriately reflects the bounded real-world risk. The AT:P metric captures a critical double precondition: the SASL backend must be compiled in and the specific connection must be configured to use it, materially reducing the exposed population. AV:L and PR:L confirm that the attacker must already have some degree of influence over the application's connection settings - an attacker in that position may already hold significant access. The impact is purely a denial-of-service (application crash); no confidentiality or integrity compromise is indicated. There is no CISA KEV listing and no public exploit code, placing this firmly in the low-active-exploitation tier. The primary realistic concern is in multi-tenant or user-configurable environments where untrusted parties can supply database connection parameters.

Exploit ScenarioDerived

In a multi-tenant application where users can partially control their database connection credentials, an attacker crafts an abnormally long username value and supplies it to the application. If the application embeds a MongoDB C Driver build that includes the external SASL backend and the connection is configured for SASL, the integer size check wraps around, the username overwrites past the buffer boundary, corrupts memory, and crashes the host application process - causing a denial-of-service for all users sharing that process.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 10, 2026

Integer overflow in the MongoDB C Driver's SASL authentication path allows an abnormally large username to bypass a size check via arithmetic wrap-around, writing past the end of a fixed-size buffer and crashing the embedding application. Only applications compiled with the optional external SASL backend and configured to use it are reachable; the impact is limited to availability with no confidentiality or integrity consequence per CVSS VC:N/VI:N. No public exploit has been identified at time of analysis.

RemediationAI

No vendor-released patch version has been identified from the available data; the MongoDB Jira ticket CDRIVER-6416 (https://jira.mongodb.org/browse/CDRIVER-6416) should be monitored for fix release announcements. As an immediate compensating control, applications that do not require external SASL authentication should rebuild the MongoDB C Driver with the SASL backend disabled, eliminating the vulnerable code path entirely - note this removes all SASL-based authentication capability. Where SASL is operationally required, restrict which parties can influence the driver's connection parameters: ensure no untrusted user input flows into the username field without a safe maximum-length validation applied upstream of the driver call. This prevents the oversized value from reaching the vulnerable size check.

Affected VersionsENISA

C Driver 2.2.0 <2.5.3

Affected Packages

euvd c_driver fix: 2.5.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 (cpe:2.3:a:mongodb:c_driver) provides client-side authentication including an optional external SASL (Simple Authentication and Security Layer) backend integration. CWE-190 (Integer Overflow or Wraparound) is the root cause: a size calculation applied to the incoming username value overflows when that value is unusually large, wrapping the computed length to a smaller-than-expected number. The boundary guard passes this wrapped value as safe, and the full oversized username is subsequently copied into a small buffer, producing a classic out-of-bounds write. The result is memory corruption severe enough to cause the host application to terminate. The vulnerable code is only reachable when the driver is built with SASL support compiled in - this is optional and not the default configuration.

Know when MongoDB 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

Vendor (mongodb) PRIMARY 5.7 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 4.7 MEDIUM

AV:L and PR:L because attacker must influence local connection settings; AC:H reflects the non-default SASL build plus configuration double-precondition (AT:P equivalent).

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

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

Lifecycle Timeline

1
Patch available
Sep 10, 2026 - 20:02 EUVD

DescriptionCVE.org

A size check in the client-side authentication path of the MongoDB C Driver can wrap around, so an unusually large user-name value is accepted and copied past the end of a small buffer. A party able to set the driver's connection settings may cause the application that embeds the driver to terminate unexpectedly. Reaching this code requires a build in which the optional external SASL authentication backend is present and a connection configured to use it.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
MongoDB widely deployed; C Driver used in C/C++ application integrations specifically
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

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

CVE-2013-1892 MEDIUM POC
6.0 Oct 01

MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo

CVE-2013-3969 MEDIUM POC
6.5 Oct 01

The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a

CVE-2018-13863 HIGH POC
7.5 Jul 10

The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul

CVE-2026-25887 HIGH POC
7.2 Mar 06

Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut

CVE-2019-2386 HIGH POC
7.1 Aug 06

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's

CVE-2012-6619 MEDIUM POC
6.4 Mar 06

The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to

CVE-2026-3431 CRITICAL
9.8 Mar 02

SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary

CVE-2024-8654 CRITICAL
9.8 Sep 10

MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle

CVE-2024-6376 CRITICAL
9.8 Jul 01

MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e

CVE-2024-1351 CRITICAL
9.8 Mar 07

Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma

CVE-2020-7610 CRITICAL
9.8 Mar 30

All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8

CVE-2026-19001 CRITICAL
9.5 Aug 12

Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed

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