Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2018-5712

published

php: Reflected XSS on PHAR 404 page

Title from Red Hat VEX

Published
16 Jan 2018, 09:00:00 UTC
Updated
05 Aug 2024, 05:40:51 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Alpine Linux v3.10 php7 Fixed 7.2.5-r0 Package fix record
Debian jessie php5 Advisory build 5.6.33+dfsg-0+deb8u1 DSA-4081-1
Oracle Linux 7 phpaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Red Hat Enterprise Linux RHEL-6 rh-php70-phpsrc Advisory build 7.0.27-1.el6 RHSA-2018:1296
Alpine Linux v3.11 php7 Fixed 7.2.5-r0 Package fix record
Show 95 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.12 php7 Fixed 7.2.5-r0 Package fix record
Alpine Linux v3.13 php7 Fixed 7.2.5-r0 Package fix record
Alpine Linux v3.14 php7 Fixed 7.2.5-r0 Package fix record
Alpine Linux v3.15 php7 Fixed 7.2.5-r0 Package fix record
Alpine Linux v3.4 php5 Fixed 5.6.36-r0 Package fix record
Alpine Linux v3.5 php5 Fixed 5.6.36-r0 Package fix record
Alpine Linux v3.5 php7 Fixed 7.0.30-r0 Package fix record
Alpine Linux v3.6 php5 Fixed 5.6.36-r0 Package fix record
Alpine Linux v3.6 php7 Fixed 7.1.17-r0 Package fix record
Alpine Linux v3.7 php5 Fixed 5.6.36-r0 Package fix record
Alpine Linux v3.7 php7 Fixed 7.1.29-r0 Package fix record
Alpine Linux v3.8 php5 Fixed 5.6.36-r0 Package fix record
Alpine Linux v3.8 php7 Fixed 7.2.5-r0 Package fix record
Alpine Linux v3.9 php7 Fixed 7.2.5-r0 Package fix record
Debian stretch php7.0 Advisory build 7.0.27-0+deb9u1 DSA-4080-1
Debian wheezy php5 Advisory build 5.4.45-0+deb7u12 DLA-1251-1
Oracle Linux 7 phpx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-bcmathaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-bcmathx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-cliaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-clix86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-commonaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-commonx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-dbaaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-dbax86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-develaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-develx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-embeddedaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-embeddedx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-enchantaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-enchantx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-fpmaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-fpmx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-gdaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-gdx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-intlaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-intlx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-ldapaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-ldapx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-mbstringaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-mbstringx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-mysqlaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-mysqlx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-mysqlndaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-mysqlndx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-odbcaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-odbcx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-pdoaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-pdox86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-pgsqlaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-pgsqlx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-processaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-processx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-pspellaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-pspellx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-recodeaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-recodex86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-snmpaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-snmpx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-soapaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-soapx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-xmlaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-xmlx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-xmlrpcaarch64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Oracle Linux 7 php-xmlrpcx86_64 Advisory build 0:5.4.16-48.el7 ELSA-2020-1112
Red Hat Enterprise Linux RHEL-6 rh-php70-phpx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-bcmathx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-clix86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-commonx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-dbax86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-dbgx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-debuginfox86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-develx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-embeddedx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-enchantx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-fpmx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-gdx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-gmpx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-imapx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-intlx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-jsonx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-ldapx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-mbstringx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-mysqlndx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-odbcx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-opcachex86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-pdox86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-pgsqlx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-processx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-pspellx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-recodex86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-snmpx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-soapx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-tidyx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-xmlx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

38

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

13
  • http://php.net/ChangeLog-5.php x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • http://php.net/ChangeLog-7.php x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • 102742 http://www.securityfocus.com/bid/102742 vdb-entry, x_refsource_BID, x_transferred Contributors: mitre (cna), CVE (adp)
  • 104020 http://www.securityfocus.com/bid/104020 vdb-entry, x_refsource_BID, x_transferred Contributors: mitre (cna), CVE (adp)
  • 1040363 http://www.securitytracker.com/id/1040363 vdb-entry, x_refsource_SECTRACK, x_transferred Contributors: mitre (cna), CVE (adp)
  • RHSA-2018:1296 https://access.redhat.com/errata/RHSA-2018:1296 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: mitre (cna), CVE (adp)
  • RHSA-2019:2519 https://access.redhat.com/errata/RHSA-2019:2519 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: mitre (cna), CVE (adp)
  • https://bugs.php.net/bug.php?id=74782 x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • [debian-lts-announce] 20180120 [SECURITY] [DLA 1251-1] php5 security update https://lists.debian.org/debian-lts-announce/2018/01/msg00025.html mailing-list, x_refsource_MLIST, x_transferred Contributors: mitre (cna), CVE (adp)
  • USN-3566-1 https://usn.ubuntu.com/3566-1/ vendor-advisory, x_refsource_UBUNTU, x_transferred Contributors: mitre (cna), CVE (adp)
  • USN-3600-1 https://usn.ubuntu.com/3600-1/ vendor-advisory, x_refsource_UBUNTU, x_transferred Contributors: mitre (cna), CVE (adp)
  • USN-3600-2 https://usn.ubuntu.com/3600-2/ vendor-advisory, x_refsource_UBUNTU, x_transferred Contributors: mitre (cna), CVE (adp)
  • https://www.oracle.com/security-alerts/cpuapr2020.html x_refsource_MISC, x_transferred Contributors: mitre (cna), CVE (adp)

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
0e7b60b62ecd468f80377a4ff59dee0738fffb8a61901baa2b310c4a5c5dee9b
Ingested
23 Sep 2026, 07:44:52 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected