Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain control of in-process KMS provider config
-
DeliverySupply oversized cryptographic key via custom callback
-
ExploitTrigger out-of-bounds heap write in request builder
-
ExecutionCorrupt heap memory
-
ImpactCrash client process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the library (libmongocrypt, per MONGOCRYPT-975) be embedded by a caller that supplies its own cryptographic callback implementation for key management, and that the attacker control the embedding application's in-process key-management provider configuration - a high-privilege position (PR:H). The specific trigger is an oversized cryptographic key that exceeds a fixed-size output buffer whose size is assumed but never validated. Limiting factors that reduce realistic risk: the vector is local (AV:L), complexity is high with a present attack requirement (AC:H/AT:P), the vulnerable path is a non-default embedding mode (custom crypto provider rather than built-in KMS handling), and the only demonstrated impact is process termination (DoS), not confidentiality loss or confirmed code execution. |
| Impact | This is a medium-severity issue (CVSS 4.0 base 5.7) whose signals are internally consistent and point to a low-to-moderate real-world priority rather than an urgent threat. The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:H/UI:N) describes a local, high-complexity flaw gated behind a present attack requirement and a high-privilege position - the attacker must already control the embedding application's in-process key-management provider configuration, which is effectively trust already placed in that code path. Impact is limited: VC:N (no confidentiality loss), VI:L (limited integrity), VA:H (availability loss), matching the description's 'demonstrated impact is memory corruption resulting in abnormal termination of the client process' - i.e. a denial-of-service against the local process, not demonstrated remote code execution. No CISA KEV listing, no EPSS score, and no public exploit were provided; the vuln.today decision label is 'this_month', not act_now or emergency, which aligns with the constrained vector. The one tension worth flagging: CWE-787 (out-of-bounds heap write) is a class that can sometimes be escalated beyond a crash, but the available evidence demonstrates only process termination, and the trigger mechanism beyond 'unvalidated key-size assumption' is not elaborated - do not assume code execution. Net: a real defect worth patching on a normal cycle for anyone embedding the library with a custom crypto/KMS callback, but not a drop-everything priority given the high-privilege local precondition. |
| Exploit ScenarioDerived | An actor who can influence the embedding application's in-process key-management provider configuration (a high-privilege position, PR:H) supplies or configures a custom cryptographic callback that returns a key larger than the library's fixed-size output buffer assumes. When the key-management request-building component writes that oversized data, it overflows the heap buffer (CWE-787), corrupting memory and terminating the client process. Exploitation is local and high-complexity (AV:L/AC:H/AT:P), and no public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
An out-of-bounds heap write exists in the key-management request-building component of libmongocrypt, MongoDB's client-side field-level encryption library, where a fixed-size output buffer is sized on a cryptographic key length that is assumed but never validated. Reaching the flaw requires the library to be embedded by a caller that supplies its own cryptographic callback implementation for key management and requires an attacker to control that application's in-process key-management provider configuration, a high-privilege position; the demonstrated result is memory corruption leading to abnormal termination of the client process, not disclosure of data. No public exploit code has been identified at time of analysis, no CISA KEV entry applies, and the vendor-assigned CVSS 4.0 base score is 5.7 with the vector constrained by local access, high attack complexity, a present attack requirement and high privileges.
RemediationAI
No vendor-released patch with an exact fixed version is identified in the available data, so remediation status must be confirmed from the MongoDB advisories at https://jira.mongodb.org/browse/MONGOCRYPT-975 and https://jira.mongodb.org/browse/PYTHON-5999, and the fixed libmongocrypt release (and corresponding driver release for PYTHON-5999) should be applied once those tickets specify it. The most direct compensating control is to avoid the vulnerable embedding mode entirely: run with the library's built-in KMS handling and do not register a custom cryptographic callback implementation for key-management requests, which removes the affected request-building path at the cost of losing whatever custom key-provider behavior the callback supplied. Where a custom provider cannot be removed, restrict control over the application's in-process key-management provider configuration to fully trusted operators, since an attacker must already hold that high-privilege position to reach the flaw; this reduces exposure but does not fix the missing buffer-length validation. Any residual risk is bounded by the demonstrated impact, which is process termination rather than data disclosure.
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
The defect is a classic CWE-787 out-of-bounds write in the code path that builds key-management requests: a buffer of fixed size is used on the assumption that the cryptographic key material passed through it will never exceed a particular length, and that assumption is never checked. The failure surfaces only in a non-default embedding mode of libmongocrypt, in which the embedding application replaces the library's built-in KMS handling with its own cryptographic callback implementation and supplies key material of its own choosing; oversized key data is then copied past the end of the buffer and corrupts adjacent heap memory. Because the buffer length is hard-coded rather than derived from the callback's actual key size, there is no length check at the boundary to stop the write. The vector components reflect the deployment reality rather than the memory-safety class alone: local access (AV:L), high complexity with a present attack requirement (AC:H/AT:P), high privileges (PR:H) needed to influence in-process provider configuration, and impact limited to low integrity and high availability with no confidentiality effect. The root cause is tracked in the MongoDB Jira issue MONGOCRYPT-975, with a related driver-side reference in PYTHON-5999.
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:L/AC:H/AT:P/PR:H/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Requires control of the in-process KMS provider config (PR:H) and an unvalidated key-size precondition (AC:H), local vector (AV:L); impact is a crash (A:H) with limited integrity (I:L) and no confidentiality (C:N).
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
DescriptionCVE.org
A memory-safety flaw in the key-management request-building component of the library can lead to an out-of-bounds write on the heap. A fixed-size output buffer is used under an assumption about cryptographic key size that is never validated, so when the library is embedded by a caller that supplies its own cryptographic callback implementation, data larger than the buffer can be written past its end. Exploitation requires the ability to control the embedding application's in-process key-management provider configuration, a high-privilege position. The demonstrated impact is memory corruption resulting in abnormal termination of the client process.
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.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
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
Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
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-124805
GHSA-26gf-ccr3-ppg9
NVD
CVE.org
EPSS
VulDB
Exploit-DB