CVE-2020-7062 in Canonical Ubuntu Linux and 3 more products
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 en...
Affects 4 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 12.04 14.04 16.04 18.04 19.10 |
| Debian | Debian Linux | 8.0 9.0 10.0 |
| Opensuse | Leap | 15.1 |
| Php | Php | ≥ 7.2.0, ≤ 7.2.27 ≥ 7.3.0, ≤ 7.3.14 ≥ 7.4.0, ≤ 7.4.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-7062 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-211462-H |
| CVSS 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 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-476: NULL Pointer Dereference
Software attempts to use a NULL pointer, causing a crash and denial of service.
Analysis AI-written, not human-reviewed
A vulnerability 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 can lead to a crash due to a null pointer dereference when file upload progress tracking is enabled and session.upload_progress.cleanup is set to 0, causing the upload procedure to attempt to clean up non-existent data.
The attack vector involves enabling file upload progress tracking in PHP and setting session.upload_progress.cleanup to 0. If a file upload fails, the system attempts to clean up data that does not exist, leading to a null pointer dereference and a potential crash.
Questions
What is CVE-2020-7062?
A vulnerability 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 can lead to a crash due to a null pointer dereference when file upload progress tracking is enabled and session.upload_progress.cleanup is set to 0, causing the upload procedure to attempt to clean up non-existent data.
What is the CVSS score for CVE-2020-7062?
CVE-2020-7062 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 3.6%.
Is CVE-2020-7062 actively exploited?
No confirmed active exploitation of CVE-2020-7062 as of 2026-09-25.
How do I remediate CVE-2020-7062?
Priority: HIGH. Advisory: https://bugs.php.net/bug.php?id=79221
What systems are affected by CVE-2020-7062?
CVE-2020-7062 affects Canonical Ubuntu Linux; Debian Debian Linux; Opensuse Leap; Php Php.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.