CVE-2007-5653: The Component Object Model (COM) functions in PHP 5.x on Windows do not follow safe_mode and disable_functions restrictions, which allows…
CVE-2007-5653 affects 11 listed versions of PHP in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
PHP
11 of 250 listed versions are affected. No fixed release is named. The newest release, 8.6.0, is not affected.
5.2.4 5.2.3 5.1.6 5.1.5 5.1.4 5.1.3 5.1.2 5.1.1 5.1.0 5.0.5 5.0.4
What it is
The Component Object Model (COM) functions in PHP 5.x on Windows do not follow safe_mode and disable_functions restrictions, which allows context-dependent attackers to bypass intended limitations, as demonstrated by executing objects with the kill bit set in the corresponding ActiveX control Compatibility Flags, executing programs via a function in compatUI.dll, invoking wscript.shell via wscript.exe, invoking Scripting.FileSystemObject via wshom.ocx, and adding users via a function in shgina.dll, related to the com_load_typelib function.
AV:N/AC:M/Au:N/C:C/I:C/A:C (NVD)
Published by MITRE on 23 October 2007. Last changed 16 June 2026.
Sources
Check one version you run: look CVE-2007-5653 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.