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.
References (11)
Core 11
Core References
Issue Tracking, Patch, Vendor Advisory x_refsource_confirm
https://bugs.php.net/bug.php?id=73768
Third Party Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:1296
Release Notes, Vendor Advisory x_refsource_confirm
http://php.net/ChangeLog-5.php
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20180112-0001/
Issue Tracking, Patch, Third Party Advisory x_refsource_confirm
https://github.com/php/php-src/commit/b28b8b2fee6dfa6fcd13305c581bb835689ac3be
Third Party Advisory x_refsource_confirm
https://www.tenable.com/security/tns-2017-04
Third Party Advisory vendor-advisory
x_refsource_debian
http://www.debian.org/security/2017/dsa-3783
Third Party Advisory vendor-advisory
x_refsource_gentoo
https://security.gentoo.org/glsa/201702-29
Release Notes, Vendor Advisory x_refsource_confirm
http://php.net/ChangeLog-7.php
Broken Link, Third Party Advisory, VDB Entry vdb-entry
x_refsource_sectrack
http://www.securitytracker.com/id/1037659
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/95783
Scores
CVSS v3
9.8
EPSS
0.0732
EPSS Percentile
93.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-193
Status
published
Products (3)
debian/debian_linux
8.0
netapp/clustered_data_ontap
php/php
5.6.0 - 5.6.30
Published
Jan 24, 2017
Tracked Since
Feb 18, 2026