CVE-2026-135133
Invalid pointer release for non-string option values in the PHP Driver
High · 8.5Fix available
- CVSS
- 8.5
- EPSS
- 0.28% (p13)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-25
- Product
- MongoDB PHP Driver
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
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.
Fixed in
1.21.15 · 2.1.15 · 2.5.9
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | PHP Driver | >=1.0.0, <1.21.15 | 1.21.15 |
| vendor | PHP Driver | >=2.0.0, <2.1.15 | 2.1.15 |
| vendor | PHP Driver | >=2.2.0, <2.5.9 | 2.5.9 |