CVE-2020-7061: heap-buffer-overflow in phar_extract_file
CVE-2020-7061 affects 8 listed versions of PHP in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
PHP
8 of 250 listed versions are affected. No fixed release is named. The newest release, 8.6.0, is not affected.
7.2.27 7.2.26 7.2.25 7.2.24 7.2.23 7.2.22 7.2.21 7.2.20
What it is
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H (NVD)
Published by Php on 27 February 2020. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2020-7061 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.