CVE-2020-7068

published 9 Sep 2020 · updated 17 Sep 2024

Use of freed hash key in the phar_parse_zipfile function

4.8MediumCVSS 4.8EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in PHP 7.2.33, PHP 7.3.21 and PHP 7.4.9.

In PHP versions 7.2.x below 7.2.33, 7.3.x below 7.3.21 and 7.4.x below 7.4.9, while processing PHAR files using phar extension, phar_parse_zipfile could be tricked into accessing freed memory, which could lead to a crash or information disclosure.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
PHP GroupPHP>=7.2.x <7.2.33, >=7.3.x <7.3.21, >=7.4.x <7.4.97.2.33, 7.3.21, 7.4.9

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-7068 severity on Zeptric[![CVE-2020-7068](https://zeptric.io/badge/cve/CVE-2020-7068.svg)](https://zeptric.io/cve/CVE-2020-7068)