Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted BSON to decoder
-
ExploitTrigger out-of-bounds read in native C extension
-
ImpactCrash 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 2
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
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
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
EUVD-2026-135626
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB