CVE-2026-135133: 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.
Affected Software
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Processes that load the MongoDB PHP Driver extension are exposed when a party can run PHP code in that process. The resulting impact is limited to the privileges of the PHP process user.
What must an attacker be able to do to trigger the issue?
They need the ability to execute PHP code that supplies non-string values for certain string-typed driver options or type-mapping settings. No user interaction is required.
Are configurations using the expected value types affected?
The described condition requires non-string values where certain options or type-mapping settings expect strings. The provided information does not indicate impact when those settings receive string values.