CVE-2015-4598: PHP

Medium severity, CVSS 6.5. EPSS: 3.9% chance of exploitation in the next 30 days.

PHP before 5.4.42, 5.5.x before 5.5.26, and 5.6.x before 5.6.10 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to read or write to arbitrary files via crafted input to an application that calls (1) a DOMDocument save method or (2) the GD imagepsloadfont function, as demonstrated by a filename\0.html attack that bypasses an intended configuration in which client users may write to only .html files.

Affected products

  • PHP PHP: up to and including 5.4.41; version 5.5.0 only; version 5.5.1 only; version 5.5.2 only; version 5.5.3 only; version 5.5.4 only; …
  • Red Hat Enterprise Linux: version 6.0 only; version 7.0 only
  • Red Hat Enterprise Linux Desktop: version 7.0 only
  • Red Hat Enterprise Linux Hpc Node: version 7.0 only
  • Red Hat Enterprise Linux Hpc Node Eus: version 7.1 only
  • Red Hat Enterprise Linux Server: version 7.0 only
  • Red Hat Enterprise Linux Server Eus: version 7.1 only
  • Red Hat Enterprise Linux Workstation: version 7.0 only

Published 2016-05-16. Last modified 2026-06-17.