Live threats

All CVEs / Php

CVE-2020-7062Php

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
3.6%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Feb 27, 2020
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-476
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp≥ 7.2.0 ≤ 7.2.27
phpphp≥ 7.3.0 ≤ 7.3.14
phpphp≥ 7.4.0 ≤ 7.4.2
opensuseleap15.1
debiandebian_linux8.0
debiandebian_linux9.0
debiandebian_linux10.0
canonicalubuntu_linux12.04
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
canonicalubuntu_linux19.10

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.