Invalid pointer release for non-string option values in the PHP Driver
- State
- Published
- Severity
- 8.5 High
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 23, 2026
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.
| Product | Versions |
|---|---|
| PHP Driver MongoDB | 1.0.0 to before 1.21.15 Affected2.0.0 to before 2.1.15 Affected2.2.0 to before 2.5.9 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.5 High | mongodb | |
| 3.1 | 7.8 High | mongodb |
Weaknesses
- CWE-763 Release of Invalid Pointer or Reference
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.