CVE-2020-7062Null Pointer Dereference in PHP Session Upload Progress
- 7.5HighCVSS base score
- 3.6%Exploitation in 30 daysEPSS · top 10% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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
ID reserved
By php
- 43 days later
· 43 days later
Published
- 5 years later
· 5 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| phpCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 3.6% · top 10% of all CVEs (15 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
What to do
Workaround: Disable file uploading, file upload tracking or enable session.upload_progress.cleanup.
References
References8
- https://bugs.php.net/bug.php?id=79221 (opens in a new tab)x_refsource_MISCx_transferred
- openSUSE-SU-2020:0341 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- GLSA-202003-57 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- [debian-lts-announce] 20200326 [SECURITY] [DLA 2160-1] php5 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- USN-4330-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- DSA-4717 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- DSA-4719 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://www.tenable.com/security/tns-2021-14 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2020-28196 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2020-7062)Record last updated .