Skip to main content
No exploitation reportedFix available

CVE-2020-7062

No exploitation reported by the sources we read.

  • Published2020-02-27
  • WeaknessCWE-476

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2020-02-2721:15CVE publishedNVD

Versions per branch

NVD · OSV
PHP
BranchAffectedFixed in
7.2≥ 7.2.0, ≤ 7.2.27no fix published
7.3≥ 7.3.0, ≤ 7.3.14no fix published
7.4≥ 7.4.0, ≤ 7.4.2no fix published
php
BranchAffectedFixed in
7.4≥ 7.4.0, < 7.4.37.4.3
7.3≥ 7.3.0, < 7.3.157.3.15
7.2≥ 7.2.0, < 7.2.287.2.28
Canonical ubuntu linux
BranchAffectedFixed in
12.4= 12.04no fix published
14.4= 14.04no fix published
16.4= 16.04no fix published
18.4= 18.04no fix published
19.10= 19.10no fix published

4 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • libzipRocky Linux:8all versions · fixed in 0:1.5.2-1.module+el8.4.0+414+2e7afcdd
  • libzipRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:1.5.2-1.module+el8.1.0+3189+a1bff096and 5 other packages
  • libzipAlmaLinux:8all versions · fixed in 1.5.2-1.module_el8.3.0+2009+b272fdefand 2 other packages
  • libzipAlmaLinux:8all versions · fixed in 1.5.2-1.module_el8.4.0+2229+b272fdefand 2 other packages
  • libzipAlmaLinux:8all versions · fixed in 1.5.2-1.module_el8.5.0+152+112d3b8cand 2 other packages
  • phpRocky Linux:8all versions · fixed in 0:7.3.20-1.module+el8.4.0+414+2e7afcdd
  • phpRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:7.3.20-1.module+el8.2.0+7373+b272fdefand 53 other packages
  • phpopenEuler:20.03-LTS-SP1all versions · fixed in 7.2.10-11.oe1

66 more package ranges on OSV.dev

Vendor advisories

  • CVE-2020-7062 Red Hat Product Security605 products fixed · 133 known affected

    php: NULL pointer dereference in PHP session upload progress

    php.src as a component of Red Hat Enterprise Linux 5 · php53.src as a component of Red Hat Enterprise Linux 5 · php as a component of Red Hat Enterprise Linux 6 · +130 more

  • ICSA-26-027-02 CISA1 known affected

    Festo Didactic SE MES PC

    Festo Didactic SE MES PC shipped with Windows 10

  • RHSA-2020:5275 Red Hat Product Security304 products fixed

    Red Hat Security Advisory: rh-php73-php security, bug fix, and enhancement update

  • RHSA-2020:3662 Red Hat Product Security301 products fixed

    Red Hat Security Advisory: php:7.3 security, bug fix, and enhancement update

Full record on NVD

Fix

  1. Vendor fix CISA ICSA-26-027-02 · 1 productFesto Didactic has released Factory Control Panel as a replacement for XAMPP on its MES PCs. Contact technical support at services.didactic@festo.com to obtain the current version of Factory Control Panel which includes fixes for these vulnerabilities.
  2. Vendor fix Red Hat Product Security RHSA-2020:5275 · 304 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the updated packages, the httpd daemon must be restarted for the update to take effect.
  3. No fix planned, says the vendor Red Hat Product Security CVE-2020-7062 · 30 productsOut of support scope
  4. No fix planned, says the vendor Red Hat Product Security CVE-2020-7062 · 103 productsWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CNACVSS 3.17.5known since 2026-10-23
  • NVDCVSS 3.17.5read 2026-10-23
  • NVDCVSS 2.04.3read 2026-10-23
  • CNAweakness (CWE)CWE-476known since 2026-10-23
  • NVDweakness (CWE)CWE-476read 2026-10-23
  • FIRST EPSSEPSS score3.6 %2026-11-07
  • OSVaffected packages—
  • GitHub Advisoriesadvisory—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2020-02-27
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-rrwc-c46p-f3v6

Frequently asked questions

What is CVE-2020-7062?

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.

Is CVE-2020-7062 actively exploited?

Active exploitation of CVE-2020-7062 has not been confirmed. Its EPSS score was 3.6% on 2026-11-07, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-7062?

CVE-2020-7062 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running PHP? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record