PT-2019-5459 · Php+3 · Php+3

Jordy Zomer

·

Published

2018-05-15

·

Updated

2024-08-04

·

CVE-2019-9675

CVSS v3.1

8.1

High

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions PHP versions 7.1.x through 7.1.26 PHP versions 7.3.x through 7.3.2
Description The issue is related to a buffer overflow in the phar tar writeheaders int function in ext/phar/tar.c of the PHP interpreter. This can be exploited by a remote attacker to execute arbitrary code. The buffer overflow occurs via a long link value. However, the vendor notes that the link value is used only when an archive contains a symlink, which currently cannot happen, making a practical attack usually impossible.
Recommendations For PHP versions 7.1.x through 7.1.26, update to version 7.1.27 or later. For PHP versions 7.3.x through 7.3.2, update to version 7.3.3 or later.

Exploit

Fix

Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2018-1704
BDU:2020-03181
CVE-2019-9675
DSA-4403-1
OPENSUSE-SU-2019:1572-1
OPENSUSE-SU-2019:1573-1
OPENSUSE-SU-2019_1293-1
OPENSUSE-SU-2019_1503-1
OPENSUSE-SU-2019_1572-1
OPENSUSE-SU-2019_1573-1
OPENSUSE-SU-2022_4067-1
OPENSUSE-SU-2024:11167-1
OPENSUSE-SU-2024:11169-1
SUSE-SU-2019:0988-1
SUSE-SU-2019:1325-1
SUSE-SU-2019:14013-1
SUSE-SU-2019:1461-1
SUSE-SU-2019_14013-1
SUSE-SU-2019_1461-1
SUSE-SU-2022:4067-1
USN-3922-1
USN-3922-2
USN-3922-3

Affected Products

Alt Linux
Php
Suse
Ubuntu