CVE-2020-7062

Description

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.

Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · source cna
Exploit chance (EPSS)
3.581%
chance of exploitation in the next 30 days
higher than 89.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2020-02-27Published by the CNA20:25 UTC

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
php phpfrom 7.2.0 through 7.2.27no fix listedfrom 7.3.0 through 7.3.14no fix listedfrom 7.4.0 through 7.4.2no fix listednot listednot listednot listed
canonical ubuntu_linux12.04no fix listed14.04no fix listed16.04no fix listed18.04no fix listed19.10no fix listednot listednot listednot listednot listednot listed
debian debian_linux10.0no fix listed8.0no fix listed9.0no fix listednot listednot listednot listed
opensuse leap15.1no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources