CVE-2000-0059: Command Injection in PHP3 popen with safe_mode
- Vendor
- PHP Group
PHP3, when configured with safe_mode enabled, fails to adequately filter shell metacharacters from commands passed to the popen function. This allows remote attackers to execute arbitrary shell commands by exploiting this insufficient sanitization.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Remote attackers can execute arbitrary commands on the server with the privileges of the web server process, potentially leading to full system compromise.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to vulnerable PHP scripts, disable popen if not required, and use web server controls to limit the impact of command execution. Consider running PHP with least privilege and in a chrooted environment to reduce risk.
Remediation
Patch, then assume compromise.
Upgrade to a version of PHP where this issue is fixed, or apply patches that ensure proper filtering of shell metacharacters in popen when safe_mode is enabled.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2000-0059 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2000-0059 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2000-0059?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2000-0059. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2000-0059?
- Upgrade to a version of PHP where this issue is fixed, or apply patches that ensure proper filtering of shell metacharacters in popen when safe_mode is enabled.
- What products are affected by CVE-2000-0059?
- PHP Group Php.
- How severe is CVE-2000-0059?
- CVE-2000-0059 has a CVSS v2 score of 10.0 (Critical) and an EPSS score of 10.9% (96th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.