CVE-2016-4072: Apple Mac OS X

Critical severity, CVSS 9.8. EPSS: 5.9% chance of exploitation in the next 30 days.

The Phar extension in PHP before 5.5.34, 5.6.x before 5.6.20, and 7.x before 7.0.5 allows remote attackers to execute arbitrary code via a crafted filename, as demonstrated by mishandling of \0 characters by the phar_analyze_path function in ext/phar/phar.c.

Affected products

  • Apple Mac OS X: up to and including 10.11.4
  • PHP PHP: version 5.6.0 only; version 5.6.1 only; version 5.6.2 only; version 5.6.3 only; version 5.6.4 only; version 5.6.5 only; …

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