CVE-2020-7061

published 27 Feb 2020 · updated 17 Sep 2024

heap-buffer-overflow in phar_extract_file

6.5MediumCVSS 6.5EPSS 4%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 4%. Fixed in PHP 7.3.15 and PHP 7.4.3.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
PHP GroupPHP>=7.3.x <7.3.15, >=7.4.x <7.4.37.3.15, 7.4.3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in PHP, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2020-7061 severity on Zeptric[![CVE-2020-7061](https://zeptric.io/badge/cve/CVE-2020-7061.svg)](https://zeptric.io/cve/CVE-2020-7061)