Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRun PHP code in extension-loaded process
-
DeliveryPass non-string value to string-typed option or type map
-
ExploitTrigger invalid memory release (CWE-763)
-
ExecutionCorrupt process memory
-
ImpactExecute commands as PHP process user
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Pointer release safety
|
| Exploitation Conditions | Exploitation requires the attacker to be able to execute PHP code inside a process that has loaded the MongoDB PHP driver extension, and to supply a non-string value to a string-typed option or type-mapping setting that the driver expects to be a string. The key limiting factor is that this is not remotely reachable on its own: per the CVSS vector it is local (AV:L) and requires low privileges (PR:L) - specifically the ability to run PHP in the target process - rather than unauthenticated network access. This makes shared-hosting, multi-tenant PHP, or post-foothold scenarios the realistic threat models; no user interaction is required (UI:N) and attack complexity is low (AC:L) once code execution in the process is available. |
| Impact | This is a genuinely serious memory-safety flaw (CWE-763, invalid memory release) but one whose real-world priority is tempered by its local attack vector. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H, score 8.5) is internally consistent with the description: exploitation requires a party who can already run PHP code in a process that loads the extension (AV:L, PR:L), after which low-complexity triggering yields high confidentiality, integrity and availability impact - memory disclosure, memory modification, command execution as the PHP process user, or a crash. The critical caveat is the attack vector: because the attacker must already be able to execute PHP in the target process, this is primarily a privilege/sandbox-escape and in-process memory-corruption issue rather than a remotely reachable pre-auth bug - in typical shared-hosting or multi-tenant PHP deployments this is high value, but it is NOT drive-by remotely exploitable. No EPSS score was provided, there is no CISA KEV listing (not actively exploited per available data), and no verified public exploit code was identified - only a MongoDB Jira advisory reference (PHPC-2746). The vuln.today decision label is 'this_week', consistent with a high-severity but not emergency finding. Note the Tags list this as 'Denial Of Service', which understates the impact: the description explicitly includes memory read/write and command execution, so treating this as DoS-only would mis-prioritize it. |
| Exploit ScenarioDerived | An attacker who can execute PHP code in a process that loads the MongoDB PHP driver - for example a low-privileged tenant on a shared PHP host, or an attacker who has achieved limited code execution in a web application - passes a non-string value where a string-typed option or type-mapping setting is expected. This triggers an invalid memory release that corrupts process memory, which may be leveraged to read or alter memory or to run commands as the PHP process user. No verified public exploit code was identified at time of analysis; only a MongoDB advisory reference exists. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
An invalid memory release (CWE-763) in the MongoDB PHP Driver extension is triggered when string-typed options or type-mapping settings are supplied non-string values, allowing memory corruption within the PHP process running the extension. The flaw is local in scope and requires low privileges - the assessed vector is AV:L/PR:L with no user interaction - meaning the realistic threat models are shared or multi-tenant PHP hosting, environments where tenants control PHP code, or post-compromise scenarios where an attacker already has code execution inside a driver-loaded process. Successful corruption could disclose or modify process memory, execute commands as the PHP process user, or crash the process; no public exploit code has been identified at time of analysis and the issue is not in CISA KEV, though the priority label is 'this_week' and impact to confidentiality, integrity and availability is rated high.
RemediationAI
No vendor-released patch or fixed version is identified in the available data; the authoritative source is the MongoDB Jira ticket PHPC-2746 at https://jira.mongodb.org/browse/PHPC-2746, which should be monitored for the patched driver release and the precise affected version list, after which the extension should be upgraded to that release. In the interim, the practical control follows directly from the exploitation prerequisites: the flaw cannot be reached without the ability to run PHP code in a process that has loaded the driver, so restrict the set of parties who can deploy or execute PHP in driver-loaded workers - the trade-off is reduced flexibility for shared or multi-tenant hosting and for plugin/extension ecosystems that evaluate third-party PHP. Where application code assembles the driver's options or type-map arrays, validate and cast every string-typed option value to a string before it reaches the driver so non-string values never arrive, at the cost of requiring code review of every construction site that builds those arrays. Run PHP-FPM or CLI workers under a least-privileged service account so that any command execution achieved through corruption is bounded by that account's rights, noting this limits but does not prevent memory disclosure or process crash.
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 MongoDB PHP Driver is a C-level PHP extension (php_driver) that wraps the MongoDB client library and exposes MongoDB connectivity to PHP applications. CWE-763 (Release of Invalid Pointer or Reference) describes a memory-safety class in which the code frees or releases a pointer that is not valid - for example a pointer derived from a value whose type was not what the code assumed. In this case the driver exposes string-typed configuration surfaces, specifically option values and type-mapping settings, and validates or consumes them on the assumption that they are PHP strings; when a non-string value is supplied, the resulting release operation is applied to an invalid reference and process memory is corrupted. Because the bug lives in native extension code rather than userland PHP, the consequence is heap-level corruption inside the interpreter process, which can manifest as out-of-bounds reads/writes, arbitrary command execution under the PHP process user, or a hard crash. The CPE entry cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:*:*:* carries a wildcard version, so the affected version range is not bounded in the supplied data and must be taken from the vendor ticket PHPC-2746. Note the assessed vector is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H: exploitation is local to the process and requires the ability to run PHP code there - it is not independently reachable over the network, and no specific trigger mechanics beyond the non-string value condition are described in the available sources.
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:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Attacker must already run PHP in the process (AV:L, PR:L), low-complexity trigger via a bad option value (AC:L), yielding memory corruption with command execution so C/I/A all High.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
An invalid memory release in the MongoDB PHP Driver extension occurs when certain string-typed options or type-mapping settings are given non-string values. A party who can run PHP code in a process that loads the extension may corrupt process memory. This can lead to reading or changing process memory, running commands as the PHP process user, or crashing the process.
Articles & Coverage 1
Executive ViewAI
A high-severity memory corruption vulnerability (CVE-2026-135133) in the MongoDB PHP Driver extension can allow an attacker with local low-privileged access to crash or execute code within the PHP process, potentially impacting confidentiality, integrity, and availability. This poses significant risk to organizations hosting multi-tenant PHP environments where tenants control code, or in post-compromise scenarios where an attacker already has a foothold, affecting both service reliability and data security.
Enforce strict process isolation (e.g., containers, jails) with minimal privileges for PHP processes using the extension; limit local shell access and monitor for unauthorized code execution; apply mandatory access controls and runtime protection (e.g., SELinux, AppArmor) to constrain memory corruption impact; consider migrating to alternative database drivers if feasible.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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-135539
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB