An issue was discovered in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1. There is Reflected XSS on the PHAR 404 error page via the URI of a request for a .phar file.
Conclusion & alert: CVE-2018-5712 is rated Moderate Risk (60.8/100): CVSS Medium severity, with high exploitation likelihood (EPSS 89.19%, 100th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. EPSS rose +1.58% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-28 | 87.61% | 89.19% | +1.58% |
| 2 | 2026-03-04 | 71.42% | 87.61% | +16.19% |
| 3 | 2026-03-01 | — | 71.42% | — |
Full EPSS history (58 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.1 | 3.0 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
medium | CVE-2018-5712: 1 source package rows (php7); 1 state rows across 1 repos (edge-community); fixed 1, open 0. | https://security.alpinelinux.org/vuln/CVE-2018-5712 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2018-5712 |
suse
|
medium | CVE-2018-5712 severity moderate: SUSE including 240 source package names (apache2-mod_php5-5.5.14-109.17.1, apache2-mod_php53-5.3.17-112.20.1, …), 701 product×package rows across 21 product lines (SUSE Enterprise Storage 7.1, SUSE Liberty Linux 7, … (21 product lines)): Fixed 395, Known Not Affected 306. | https://www.suse.com/security/cve/CVE-2018-5712/ |
ubuntu
|
medium | CVE-2018-5712 medium priority: Ubuntu including 4 source packages (php5, php7.0, php7.1, php7.2), 20 status rows across 5 suites (artful, bionic, trusty, upstream, xenial): DNE 12, released 7, not-affected 1. | https://ubuntu.com/security/CVE-2018-5712 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| php | php | <= 5.6.32 | cpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
| php | php | >= 7.0.0, <= 7.0.26 | cpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
| php | php | > 7.1.0, <= 7.1.12 | cpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
| php | php | 7.2.0 | cpe:2.3:a:php:php:7.2.0:*:*:*:*:*:*:* |
| debian | debian_linux | 7.0 | cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
| canonical | ubuntu_linux | 12.04 | cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* |
| canonical | ubuntu_linux | 14.04 | cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* |
| canonical | ubuntu_linux | 16.04 | cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* |
| canonical | ubuntu_linux | 17.10 | cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| http://php.net/ChangeLog-5.php | Release Notes Vendor Advisory |
| http://php.net/ChangeLog-7.php | Release Notes Vendor Advisory |
| http://www.securityfocus.com/bid/102742 | Third Party Advisory VDB Entry |
| http://www.securityfocus.com/bid/104020 | Third Party Advisory VDB Entry |
| http://www.securitytracker.com/id/1040363 | Third Party Advisory VDB Entry |
| https://access.redhat.com/errata/RHSA-2018:1296 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2019:2519 | |
| https://bugs.php.net/bug.php?id=74782 | Issue Tracking Patch Vendor Advisory |
| https://lists.debian.org/debian-lts-announce/2018/01/msg00025.html | Mailing List Third Party Advisory |
| https://usn.ubuntu.com/3566-1/ | Third Party Advisory |
| https://usn.ubuntu.com/3600-1/ | Third Party Advisory |
| https://usn.ubuntu.com/3600-2/ | Third Party Advisory |
| https://www.oracle.com/security-alerts/cpuapr2020.html |