CVE-2015-4642: PHP

Critical severity, CVSS 9.8. EPSS: 6% chance of exploitation in the next 30 days.

The escapeshellarg function in ext/standard/exec.c in PHP before 5.4.42, 5.5.x before 5.5.26, and 5.6.x before 5.6.10 on Windows allows remote attackers to execute arbitrary OS commands via a crafted string to an application that accepts command-line arguments for a call to the PHP system function.

Affected products

  • PHP PHP: up to and including 5.4.41; version 5.5.0 only; version 5.5.1 only; version 5.5.2 only; version 5.5.3 only; version 5.5.4 only; …

Published 2016-05-16. Last modified 2026-06-17.