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

Read the record on cve.org

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.

ProductVersions
PHP Driver MongoDB1.0.0 to before 1.21.15 Affected2.0.0 to before 2.1.15 Affected2.2.0 to before 2.5.9 Affected

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.