CVE-2026-135133
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.
Impact
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.
An attacker can exploit this with local access to the system, with a regular user account, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| MongoDB | PHP Driver | from 1.0.0 before 1.21.15 from 2.0.0 before 2.1.15 from 2.2.0 before 2.5.9 |
| MongoDB Inc. | PHP Driver | from 1.0.0 before 1.21.15 from 2.0.0 before 2.1.15 from 2.2.0 before 2.5.9 |