Skip to main content

MongoDB PHP Driver EUVDEUVD-2026-135539

| CVE-2026-135133 HIGH
Release of Invalid Pointer or Reference (CWE-763)
2026-11-25 mongodb
8.5
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Run PHP code in extension-loaded process
  2. Delivery
    Pass non-string value to string-typed option or type map
  3. Exploit
    Trigger invalid memory release (CWE-763)
  4. Execution
    Corrupt process memory
  5. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% 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 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

PHP Driver 1.0.0 <1.21.15
PHP Driver 2.0.0 <2.1.15
PHP Driver 2.2.0 <2.5.9

Affected Packages

euvd php_driver fix: 1.21.15, 2.1.15, 2.5.9

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

Vendor (mongodb) PRIMARY 8.5 HIGH
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
vuln.today AI 7.8 HIGH

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.

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

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

Lifecycle Timeline

2
Patch available
Nov 25, 2026 - 18:03 EUVD
CVE Published
Nov 25, 2026 - 16:53 cve.org
HIGH 8.5

DescriptionCVE.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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 87% exploitable
Prevalence
Medium
official MongoDB PHP driver, common in PHP apps using MongoDB but not universal
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.3%
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
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

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-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

References

Advisories & patches

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