CVE-2020-7061
php: heap-based buffer overflow in phar_extract_file
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · January 26, 2020
Updated · November 21, 2025
Description
In PHP versions 7.3.x below 7.3.15 and 7.4.x below 7.4.3, while extracting PHAR files on Windows using phar extension, certain content inside PHAR file could lead to one-byte read past the allocated buffer. This could potentially lead to information disclosure or crash.
Statement
This flaw affects only PHP running on Windows operating system.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CWE-122 · Heap-based Buffer Overflow