# CVE-2020-7062: Null Pointer Dereference in PHP Session Upload Progress

- Severity: High 7.5 (CVSS:3.1, scored by php) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.58%, higher than 89% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-02-27T20:25:15.153Z
- Modified: 2026-09-08T08:48:24.625Z
- Also known as: BIT-LIBPHP-2020-7062, BIT-PHP-2020-7062, BIT-PHP-MIN-2020-7062
- Weaknesses: CWE-476
- Assigned by: php

## 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.

(As written by CVE List.)

## Affected

- PHP Group PHP: from 7.3.x before 7.3.15; from 7.4.x before 7.4.3; from 7.2.x before 7.2.28
- php php: from 7.2.0 up to 7.2.27; from 7.3.0 up to 7.3.14; from 7.4.0 up to 7.4.2
- opensuse leap: 15.1
- debian debian_linux: 8.0; 9.0; 10.0
- canonical ubuntu_linux: 12.04; 14.04; 16.04; 18.04; 19.10
- libphp (Bitnami): from 7.2.0 before 7.2.28; from 7.3.0 before 7.3.15; from 7.4.0 before 7.4.3
- php (Bitnami): from 7.2.0 before 7.2.28; from 7.3.0 before 7.3.15; from 7.4.0 before 7.4.3
- php-min (Bitnami): from 7.2.0 before 7.2.28; from 7.3.0 before 7.3.15; from 7.4.0 before 7.4.3

## Every score

- php: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://bugs.php.net/bug.php?id=79221> (exploit, advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00023.html> (advisory, mailing-list, third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202003-57> (advisory, third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/03/msg00034.html> (advisory, mailing-list, third-party-advisory)
- <https://usn.ubuntu.com/4330-1/> (advisory, third-party-advisory, vendor-advisory)
- <https://www.debian.org/security/2020/dsa-4717> (advisory, third-party-advisory, vendor-advisory)
- <https://www.debian.org/security/2020/dsa-4719> (advisory, third-party-advisory, vendor-advisory)
- <https://www.tenable.com/security/tns-2021-14> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7062> (web)

## Sources

- CVE List: [CVE-2020-7062](https://www.cve.org/CVERecord?id=CVE-2020-7062), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2020-7062](https://nvd.nist.gov/vuln/detail/CVE-2020-7062), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-LIBPHP-2020-7062](https://osv.dev/vulnerability/BIT-LIBPHP-2020-7062), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-2020-7062](https://osv.dev/vulnerability/BIT-PHP-2020-7062), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-MIN-2020-7062](https://osv.dev/vulnerability/BIT-PHP-MIN-2020-7062), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-7062 · Whole record: https://cve.day/CVE-2020-7062.json · Rebuilt by cve.day 2026-11-25T22:57:51.000Z
