CVE-2018-5712: Canonical Ubuntu Linux
Medium severity, CVSS 6.1. EPSS: 80% probability of exploitation activity in the next 30 days.
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.
What to do
No fixed version is stated in NVD's or the CNA's structured data. The description says "before 5.6.33", "before 7.0.27", "before 7.1.13"; check the vendor's advisory for the release that fixes it.
Affected products
- Canonical Ubuntu Linux: version 12.04 only; version 14.04 only; version 16.04 only; version 17.10 only
- Debian Debian Linux: version 7.0 only
- PHP PHP: up to and including 5.6.32; from 7.0.0, up to and including 7.0.26; after 7.1.0, up to and including 7.1.12; version 7.2.0 only
Published 2018-01-16. Last modified 2026-06-17.