CVE-2018-10547

An issue was discovered in ext/phar/phar_object.c in PHP before 5.6.36, 7.0.x before 7.0.30, 7.1.x before 7.1.17, and 7.2.x before 7.2.5. There is Reflected XSS on the PHAR 403 and 404 error pages via request data of a request for a .phar file. NOTE: this vulnerability exists because of an incomplete fix for CVE-2018-5712.

Published: 2018-04-29 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-10547 is rated Moderate Risk (50.2/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 3.63%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2018-10547

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-06-15 17.24% 3.63% -13.61%
2 2026-03-04 5.90% 17.24% +11.34%
3 2026-03-01 5.90%

Full EPSS history (58 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2018-10547

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.1 3.0 MEDIUM
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.7 [email protected]
4.3 2.0 MEDIUM
AV:N/AC:M/Au:N/C:N/I:P/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
8.6 2.9 [email protected]

Weakness enumeration for CVE-2018-10547

OS Trackers for CVE-2018-10547

vendor priority summary link
alpine medium CVE-2018-10547: 1 source package rows (php7); 1 state rows across 1 repos (edge-community); fixed 1, open 0. https://security.alpinelinux.org/vuln/CVE-2018-10547
redhat medium https://access.redhat.com/security/cve/CVE-2018-10547
suse medium CVE-2018-10547 severity moderate: SUSE including 188 source package names (apache2-mod_php5-5.5.14-109.27.2, apache2-mod_php53-5.3.17-112.23.1, …), 394 product×package rows across 13 product lines (SUSE Liberty Linux 7, SUSE Liberty Linux 7 LTSS, … (13 product lines)): Fixed 393, Known Not Affected 1. https://www.suse.com/security/cve/CVE-2018-10547/
ubuntu medium CVE-2018-10547 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 8. https://ubuntu.com/security/CVE-2018-10547

Affected software / configurations for CVE-2018-10547

Vendor Product Version Raw CPE
php php < 5.6.36 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
php php >= 7.0.0, < 7.0.30 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
php php >= 7.1.0, < 7.1.17 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
php php >= 7.2.0, < 7.2.5 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
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:*:*:*:*:*:*:*
canonical ubuntu_linux 18.04 cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
debian debian_linux 7.0 cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
debian debian_linux 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
netapp storage_automation_store cpe:2.3:a:netapp:storage_automation_store:-:*:*:*:*:*:*:*

References for CVE-2018-10547

URL Tags
http://php.net/ChangeLog-5.php Patch Vendor Advisory
http://php.net/ChangeLog-7.php Patch Vendor Advisory
http://www.securitytracker.com/id/1040807 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2019:2519
https://bugs.php.net/bug.php?id=76129 Issue Tracking Patch Vendor Advisory
https://lists.debian.org/debian-lts-announce/2018/05/msg00004.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/06/msg00005.html Mailing List Third Party Advisory
https://security.netapp.com/advisory/ntap-20180607-0003/ Third Party Advisory
https://usn.ubuntu.com/3646-1/ Third Party Advisory
https://usn.ubuntu.com/3646-2/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4240 Third Party Advisory
https://www.tenable.com/security/tns-2018-12 Third Party Advisory
cvelogic Threat Intelligence