CVE-2004-0542 in the critical feed json
PHP before 4.3.7 on Win32 platforms does not properly filter all shell metacharacters, which allows local or remote attackers to execute ar…
published 2004-06-10 22 y ago modified 2026-06-16 4 mo ago also EUVD-2004-0541
- cvss
- 10.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 31.1%
- EPSS 31.1% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known
Summary
PHP before 4.3.7 on Win32 platforms does not properly filter all shell metacharacters, which allows local or remote attackers to execute arbitrary code, overwrite files, and access internal environment variables via (1) the "%", "|", or ">" characters to the escapeshellcmd function, or (2) the "%" character to the escapeshellarg function.
Patch / fix
Exploit prediction
31.11% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Technology feeds
References
-
php.net
/release_4_3_7.php
patch, release-notes, vendor-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/16331
vdb-entry, third-party-advisory
-
idefense.com
/application/poi/display?id=108
not-applicable
Sources
- CVE List CVE-2004-0542
- NVD CVE-2004-0542
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.