MongoDB PHP Driver Improper Memory Release (Use-After-Free)
CVE-2026-135133 Published on November 25, 2026
Invalid pointer release for non-string option values in the PHP Driver
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.
Vulnerability Analysis
CVE-2026-135133 can be exploited with local system access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.
Weakness Type
Release of Invalid Pointer or Reference
The application attempts to return a memory resource to the system, but calls the wrong release function or calls the appropriate release function incorrectly.
Affected Versions
MongoDB PHP Driver:- Version 1.0.0 and below 1.21.15 is affected.
- Version 2.0.0 and below 2.1.15 is affected.
- Version 2.2.0 and below 2.5.9 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.