CVE-2020-7062

published 27 Feb 2020 · updated 16 Sep 2024

Null Pointer Dereference in PHP Session Upload Progress

7.5HighCVSS 7.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.2.28, PHP 7.3.15 and PHP 7.4.3.

In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when using file upload functionality, if upload progress tracking is enabled, but session.upload_progress.cleanup is set to 0 (disabled), and the file upload fails, the upload procedure would try to clean up data that does not exist and encounter null pointer dereference, which would likely lead to a crash.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
PHP GroupPHP>=7.2.x <7.2.28, >=7.3.x <7.3.15, >=7.4.x <7.4.37.2.28, 7.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-7062 severity on Zeptric[![CVE-2020-7062](https://zeptric.io/badge/cve/CVE-2020-7062.svg)](https://zeptric.io/cve/CVE-2020-7062)