Buffer Overflow Vulnerability in PHP's phar_tar_writeheaders_int Function

Buffer Overflow Vulnerability in PHP's phar_tar_writeheaders_int Function

CVE-2019-9675 · MEDIUM Severity

AV:N/AC:M/AU:N/C:P/I:P/A:P

An issue was discovered in PHP 7.x before 7.1.27 and 7.3.x before 7.3.3. phar_tar_writeheaders_int in ext/phar/tar.c has a buffer overflow via a long link value. NOTE: The vendor indicates that the link value is used only when an archive contains a symlink, which currently cannot happen: "This issue allows theoretical compromise of security, but a practical attack is usually impossible.

Learn more about our Web Application Penetration Testing UK.