Live threats

All CVEs / Php

CVE-2015-4642Php

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
6.0%
probability of exploitation in 30 days · percentile 94
Auth required
No
Published
May 16, 2016
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-78
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp≤ 5.4.41
phpphp5.5.0
phpphp5.5.1
phpphp5.5.2
phpphp5.5.3
phpphp5.5.4
phpphp5.5.5
phpphp5.5.6
phpphp5.5.7
phpphp5.5.8
phpphp5.5.9
phpphp5.5.10
phpphp5.5.11
phpphp5.5.12
phpphp5.5.13
phpphp5.5.14
phpphp5.5.15
phpphp5.5.16
phpphp5.5.17
phpphp5.5.18
phpphp5.5.19
phpphp5.5.20
phpphp5.5.21
phpphp5.5.22
phpphp5.5.23
phpphp5.5.24
phpphp5.5.25
phpphp5.6.0
phpphp5.6.1
phpphp5.6.2
phpphp5.6.3
phpphp5.6.4
phpphp5.6.5
phpphp5.6.6
phpphp5.6.7
phpphp5.6.8
phpphp5.6.9

Official sources

References

Links published by the sources. Open them with care.