Skip to main content

MongoDB Python Driver EUVDEUVD-2026-135626

| CVE-2026-135898 HIGH
Out-of-bounds Read (CWE-125)
2026-11-25 mongodb
8.8
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted BSON to decoder
  2. Exploit
    Trigger out-of-bounds read in native C extension
  3. Impact
    Crash process (DoS) and possibly leak adjacent memory

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

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

Exploitation Conditions

The affected application must decode attacker-supplied, untrusted BSON data using the driver's native C BSON decoding extension (the compiled _cbson path), so exploitability depends on the application exposing BSON parsing to an untrusted source. The denial-of-service (process termination) outcome applies broadly to that decode path. The additional memory-disclosure outcome is limited: the description states it occurs only 'in some configurations' where nearby process memory is included in error messages, so it is not universal. A practical limiting factor is that deployments using the pure-Python BSON fallback rather than the C extension may not be affected by the native out-of-bounds read; no authentication is required per the vendor CVSS vector (PR:N).

Impact

The signals point to a credible but not emergency-level priority. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a remotely reachable, low-complexity flaw needing no privileges or user interaction, which aligns with the description of an unauthenticated party supplying crafted BSON to the decoder. However, the dominant impact is availability (VA:H = process termination/DoS) with only limited, conditional confidentiality loss (VC:L), and no integrity impact (VI:N) - so the headline 8.8 is driven by crash-level DoS, not code execution or broad data theft. The vuln.today Decision label is 'this_week' (not act_now/emergency), and there is no CISA KEV listing and no EPSS score in the provided data, so there is no evidence of active or widespread exploitation. No public exploit is identified; the only reference is the vendor's own MongoDB Jira tracking ticket (PYTHON-6256), not working exploit code. Net: a real, patch-worthy memory-safety DoS in a popular library, but currently a this-week priority rather than a drop-everything emergency. Missing data to note explicitly: EPSS probability is absent, KEV status is NO (absence of active-exploitation evidence), and the confidentiality disclosure is explicitly conditional ('in some configurations'), so the VC:L impact will not apply to every deployment.

Exploit ScenarioDerived

An attacker who can get an application to decode attacker-controlled BSON through the MongoDB Python Driver's native C extension sends a malformed BSON document that triggers an out-of-bounds read, crashing the application process (denial of service). In deployments configured to include raw bytes in error messages, fragments of adjacent process memory may be echoed back, causing limited unintended data disclosure. No verified public exploit code was identified at the time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 25, 2026

An out-of-bounds read in the native C BSON decoding extension (_cbson) of the MongoDB Python Driver (PyMongo) allows unauthenticated remote attackers who can feed crafted BSON into the decoder to terminate the application process, and in some configurations to have nearby process memory surfaced in error messages, yielding limited unintended disclosure. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, VA:H, VC:L) confirms no authentication or user interaction is required once the vulnerable decode path is reachable, making exploitability dependent on whether an application parses untrusted BSON with the C extension rather than the pure-Python fallback. No public exploit code and no confirmed active exploitation were identified in the available data; the vendor-reported issue is tracked in PYTHON-6256 and the priority signal places it in the this-week remediation band rather than emergency response.

RemediationAI

No vendor-released fixed version is identified in the available data, so the authoritative remediation reference is the MongoDB Jira issue PYTHON-6256 at https://jira.mongodb.org/browse/PYTHON-6256, which should be monitored for the patched driver release and the exact affected version ranges before an upgrade target is selected. Until a fix is confirmed, the most direct compensating control is to decode untrusted BSON with the pure-Python implementation instead of the native C extension, accepting the throughput penalty that motivated the C extension in the first place; note that this only removes the native over-read path and has not been independently confirmed here as a complete workaround. Where the extension cannot be avoided, keep crafted or untrusted BSON away from the decoder by validating document size and structure at the trust boundary before deserialization, accepting that this narrows rather than eliminates exposure. To limit the disclosure outcome, avoid returning raw decoder exception text or memory-adjacent diagnostic output to untrusted callers and log it internally instead, at the cost of reduced client-side debuggability. Running the decoder inside a supervised worker process with restart-on-crash reduces the availability impact of a termination but does not prevent the over-read itself.

Affected VersionsENISA

Python Driver 1.9.0 <4.20.2

Affected Packages

euvd python_driver fix: 4.20.2

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

BSON is the binary serialization format used by MongoDB, and PyMongo ships an optional compiled C extension (_cbson) that replaces the pure-Python encoder/decoder for performance. The flaw is classified as CWE-125 (out-of-bounds read): the native decoder reads beyond the bounds of the input buffer while processing crafted BSON, which triggers a fault that can abort the hosting process (the high availability impact in the assessed vector) and, in configurations where adjacent process memory is echoed into error output, may expose a limited amount of neighboring data. The specific BSON element types, length fields, or parsing steps that trigger the over-read are not described in the available sources, so no single malformed-structure pattern can be named from this data. Deployment mode is the decisive scoping factor: applications that import the compiled extension and decode attacker-controlled documents are in scope for the native over-read, whereas installations relying on the pure-Python BSON implementation may not be affected by the native path. The CPE cpe:2.3:a:mongodb:python_driver:*:*:*:*:*:*:*:* identifies the Python driver as the affected component but supplies a wildcard version range, so the precise affected and fixed release boundaries are not established by this input.

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 8.8 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.2 HIGH

Remote unauthenticated crafted BSON reaches the decoder (AV:N/AC:L/PR:N/UI:N); primary impact is a process crash (A:H) with only conditional, limited memory disclosure (C:L) and no integrity impact.

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

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

Lifecycle Timeline

2
Patch available
Nov 25, 2026 - 19:18 EUVD
CVE Published
Nov 25, 2026 - 17:53 cve.org
HIGH 8.8

DescriptionCVE.org

An out-of-bounds read in the native C BSON decoding extension of the MongoDB Python Driver may allow an unauthenticated party who can supply crafted BSON data to the decoder to cause the application process to terminate. In some configurations, nearby process memory may be included in error messages, which may result in limited unintended disclosure of data.

Executive ViewAI

Why It Matters

A high-severity vulnerability in the MongoDB Python Driver's native C extension (_cbson) could allow unauthenticated attackers to crash services or leak limited process memory when parsing untrusted BSON data. Organizations using PyMongo-based applications to ingest external data are at risk, potentially causing service disruptions and exposing sensitive information to unauthorized parties.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include switching to the pure-Python BSON fallback, validating and limiting BSON input, and restricting network exposure of vulnerable services.

Threat Intelligence Overview

EPSS Score
0.6%
Top 57% exploitable
Prevalence
High
pymongo is the standard, very widely deployed Python driver for MongoDB
Social Media
2
Sightings
Data Quality
4 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 HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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-2026-118383 CRITICAL POC
9.5 Nov 10

Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa

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-129987 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong

CVE-2026-137498 CRITICAL
9.9 Nov 26

Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or

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

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