BlogSafe.org

PHP CVEs

Vulnerabilities in the PHP language itself, and which PHP versions they affect.

← Back to CVE list

CVE-2016-10160

CRITICAL 9.8 CVSS 3.1
Published
January 24, 2017
Last modified
June 17, 2026
NVD status
Modified
Reported by
cve@mitre.org
Weakness
CWE-193
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

Off-by-one error in the phar_parse_pharfile function in ext/phar/phar.c in PHP before 5.6.30 and 7.0.x before 7.0.15 allows remote attackers to cause a denial of service (memory corruption) or possibly execute arbitrary code via a crafted PHAR archive with an alias mismatch.

Affected products and versions

  • PHP — From 5.6.0 (including) to 5.6.30 (excluding)
  • PHP — From 7.0.0 (including) to 7.0.15 (excluding)
  • PHP — From 7.1.0 (including) to 7.1.1 (excluding)

References

  • php.net http://php.net/ChangeLog-5.php Release Notes, Vendor Advisory
  • php.net http://php.net/ChangeLog-7.php Release Notes, Vendor Advisory
  • www.debian.org http://www.debian.org/security/2017/dsa-3783 Third Party Advisory
  • www.securityfocus.com http://www.securityfocus.com/bid/95783 Third Party Advisory, VDB Entry
  • www.securitytracker.com http://www.securitytracker.com/id/1037659 Broken Link, Third Party Advisory, VDB Entry
  • access.redhat.com https://access.redhat.com/errata/RHSA-2018:1296 Third Party Advisory
  • bugs.php.net https://bugs.php.net/bug.php?id=73768 Issue Tracking, Patch, Vendor Advisory
  • github.com https://github.com/php/php-src/commit/b28b8b2fee6dfa6fcd13305c581bb835689ac3be Issue Tracking, Patch, Third Party Advisory
  • security.gentoo.org https://security.gentoo.org/glsa/201702-29 Third Party Advisory
  • security.netapp.com https://security.netapp.com/advisory/ntap-20180112-0001/ Third Party Advisory
  • www.tenable.com https://www.tenable.com/security/tns-2017-04 Third Party Advisory
  • nvd.nist.gov Official NVD record