VDB

CVE-2020-7062

CVE-2020-7062 PUBLISHED CVSS 7.5 HIGH

Null Pointer Dereference in PHP Session Upload Progress

Reported by php · Published February 27, 2020

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
php7Alpine7.3.15-r0, 7.2.31-r0
libphpBitnami7.4.3, 7.3.15, 7.2.28
phpphp7.4.2, 7.3.14, 7.2.27
php7.0Ubuntu:16.04:LTS7.0.33-0ubuntu0.16.04.14
php7.2Ubuntu:18.04:LTS7.2.24-0ubuntu0.18.04.4

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
PHP GroupPHP7.3.x, 7.4.x, 7.2.x
alpinephp70, 0
PHP GroupPHP7.3.x, 7.4.x, 7.2.x

Timeline

  • Feb 21, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Jun 28, 2021 PoC Published (5 in total, the first dated here)
  • May 24, 2022 CVE Updated
  • Mar 7, 2026 Distribution Patch (3 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (7 in total, the first dated here)
  • Aug 29, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-7062
vulnetix vdb fixes CVE-2020-7062

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-7062/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›