CVE-2026-135133
Invalid pointer release for non-string option values in the PHP Driver
8.5
Description
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 products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| php driver | mongodb | 1.0.0 → <1.21.15; 2.0.0 → <2.1.15; 2.2.0 → <2.5.9 | 2.5.9 | CVE.org |