CVE-2020-7062: Null Pointer Dereference in PHP Session Upload Progress
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 3.5% (FIRST EPSS); higher than 89.4% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: apcu-panel (AlmaLinux:8) 5.1.17-1.module_el8.3.0+2009+b272fdef; libzip (AlmaLinux:8) 1.5.2-1.module_el8.4.0+2229+b272fdef, 1.5.2-1.module_el8.3.0+2009+b272fdef, 1.5.2-1.module_el8.5.0+152+112d3b8c; libzip-devel (AlmaLinux:8) 1.5.2-1.module_el8.4.0+2229+b272fdef, 1.5.2-1.module_el8.5.0+152+112d3b8c, 1.5.2-1.module_el8.3.0+2009+b272fdef.
Low priority for now. Upgrade to apcu-panel (AlmaLinux:8) 5.1.17-1.module_el8.3.0+2009+b272fdef; libzip (AlmaLinux:8) 1.5.2-1.module_el8.4.0+2229+b272fdef, 1.5.2-1.module_el8.3.0+2009+b272fdef, 1.5.2-1.module_el8.5.0+152+112d3b8c; libzip-devel (AlmaLinux:8) 1.5.2-1.module_el8.4.0+2229+b272fdef, 1.5.2-1.module_el8.5.0+152+112d3b8c, 1.5.2-1.module_el8.3.0+2009+b272fdef or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Feb 27, 2020
- Updated
- Jun 16, 2026
- EPSS
- 3.5% · 89th percentile
- CWE
- CWE-476
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.5%
CNA vs NVD score
- NVD
- 7.5
- CNA · php
- 7.5
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| php | php | cpe:2.3:a:php:php |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- php php7.2.0 and later · up to 7.2.27 inclusive
- php php7.3.0 and later · up to 7.3.14 inclusive
- php php7.4.0 and later · up to 7.4.2 inclusive
Versions reported by the vendor
Affected version ranges reported by the assigning authority (php). Independent of NVD's CPE analysis and usually ahead of it.
PHP Group PHP
- 7.3.x and later · before 7.3.15affected
- 7.4.x and later · before 7.4.3affected
- 7.2.x and later · before 7.2.28affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | apcu-panel | before 5.1.17-1.module_el8.3.0+2009+b272fdef | 5.1.17-1.module_el8.3.0+2009+b272fdef |
| AlmaLinux:8 | libzip | before 1.5.2-1.module_el8.4.0+2229+b272fdef | 1.5.2-1.module_el8.4.0+2229+b272fdef |
| AlmaLinux:8 | libzip | before 1.5.2-1.module_el8.3.0+2009+b272fdef | 1.5.2-1.module_el8.3.0+2009+b272fdef |
| AlmaLinux:8 | libzip | before 1.5.2-1.module_el8.5.0+152+112d3b8c | 1.5.2-1.module_el8.5.0+152+112d3b8c |
| AlmaLinux:8 | libzip-devel | before 1.5.2-1.module_el8.4.0+2229+b272fdef | 1.5.2-1.module_el8.4.0+2229+b272fdef |
| AlmaLinux:8 | libzip-devel | before 1.5.2-1.module_el8.5.0+152+112d3b8c | 1.5.2-1.module_el8.5.0+152+112d3b8c |
| AlmaLinux:8 | libzip-devel | before 1.5.2-1.module_el8.3.0+2009+b272fdef | 1.5.2-1.module_el8.3.0+2009+b272fdef |
| AlmaLinux:8 | libzip-tools | before 1.5.2-1.module_el8.3.0+2009+b272fdef | 1.5.2-1.module_el8.3.0+2009+b272fdef |
| AlmaLinux:8 | libzip-tools | before 1.5.2-1.module_el8.4.0+2229+b272fdef | 1.5.2-1.module_el8.4.0+2229+b272fdef |
| AlmaLinux:8 | libzip-tools | before 1.5.2-1.module_el8.5.0+152+112d3b8c | 1.5.2-1.module_el8.5.0+152+112d3b8c |
| AlmaLinux:8 | php | before 7.3.20-1.module_el8.3.0+2009+b272fdef | 7.3.20-1.module_el8.3.0+2009+b272fdef |
| AlmaLinux:8 | php | before 7.3.20-1.module_el8.5.0+152+112d3b8c | 7.3.20-1.module_el8.5.0+152+112d3b8c |
| AlmaLinux:8 | php | before 7.3.20-1.module_el8.4.0+2229+b272fdef | 7.3.20-1.module_el8.4.0+2229+b272fdef |
| AlmaLinux:8 | php-bcmath | before 7.3.20-1.module_el8.3.0+2009+b272fdef | 7.3.20-1.module_el8.3.0+2009+b272fdef |
| AlmaLinux:8 | php-bcmath | before 7.3.20-1.module_el8.5.0+152+112d3b8c | 7.3.20-1.module_el8.5.0+152+112d3b8c |
| AlmaLinux:8 | php-bcmath | before 7.3.20-1.module_el8.4.0+2229+b272fdef | 7.3.20-1.module_el8.4.0+2229+b272fdef |
| AlmaLinux:8 | php-cli | before 7.3.20-1.module_el8.3.0+2009+b272fdef | 7.3.20-1.module_el8.3.0+2009+b272fdef |
| AlmaLinux:8 | php-cli | before 7.3.20-1.module_el8.4.0+2229+b272fdef | 7.3.20-1.module_el8.4.0+2229+b272fdef |
| AlmaLinux:8 | php-cli | before 7.3.20-1.module_el8.5.0+152+112d3b8c | 7.3.20-1.module_el8.5.0+152+112d3b8c |
| AlmaLinux:8 | php-common | before 7.3.20-1.module_el8.3.0+2009+b272fdef | 7.3.20-1.module_el8.3.0+2009+b272fdef |
| AlmaLinux:8 | php-common | before 7.3.20-1.module_el8.4.0+2229+b272fdef | 7.3.20-1.module_el8.4.0+2229+b272fdef |
| AlmaLinux:8 | php-common | before 7.3.20-1.module_el8.5.0+152+112d3b8c | 7.3.20-1.module_el8.5.0+152+112d3b8c |
| AlmaLinux:8 | php-dba | before 7.3.20-1.module_el8.5.0+152+112d3b8c | 7.3.20-1.module_el8.5.0+152+112d3b8c |
| AlmaLinux:8 | php-dba | before 7.3.20-1.module_el8.3.0+2009+b272fdef | 7.3.20-1.module_el8.3.0+2009+b272fdef |
+96
Same product
php: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-4577Argument Injection in PHP-CGIKEV99Now
- CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV99Now
- CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle queKEV99Now
Published before and after this one in the same product
- ← EarlierCVE-2014-3622Feb 19, 2020 · Use-after-free vulnerability in the add_post_var function in the Posthandler component in PHP 5.6.x before 5.6.1 might allow remote attacker40Plan
- ← EarlierCVE-2020-7061Feb 27, 2020 · heap-buffer-overflow in phar_extract_file37Monitor
- Later →CVE-2020-7063Feb 27, 2020 · Files added to tar with Phar::buildFromIterator have all-access permissions21Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:apcu-panel | 5.1.17-1.module_el8.3.0+2009+b272fdef · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libzip | 1.5.2-1.module_el8.5.0+152+112d3b8c · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libzip-devel | 1.5.2-1.module_el8.4.0+2229+b272fdef · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libzip-tools | 1.5.2-1.module_el8.5.0+152+112d3b8c · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php | 7.3.20-1.module_el8.4.0+2229+b272fdef · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-bcmath | 7.3.20-1.module_el8.4.0+2229+b272fdef · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-cli | 7.3.20-1.module_el8.5.0+152+112d3b8c · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-common | 7.3.20-1.module_el8.3.0+2009+b272fdef · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-dba | 7.3.20-1.module_el8.5.0+152+112d3b8c · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-dbg | 7.3.20-1.module_el8.3.0+2009+b272fdef · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-devel | 7.3.20-1.module_el8.4.0+2229+b272fdef · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-embedded | 7.3.20-1.module_el8.3.0+2009+b272fdef · AlmaLinux:8 | Package registry (OSV) |
| alpine:php7 | 7.3.15-r0 · Alpine:v3.11 | Package registry (OSV) |
| debian:php5 | 5.6.40+dfsg-0+deb8u10 · Debian:8 | Package registry (OSV) |
| debian:php7.0 | 7.0.33-0+deb9u8 · Debian:9 | Package registry (OSV) |
| debian:php7.3 | 7.3.19-1~deb10u1 · Debian:10 | Package registry (OSV) |
| debian:php7.4 | 7.4.3-1 · Debian:11 | Package registry (OSV) |
| opensuse:php7 | 7.2.5-lp151.6.22.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| opensuse:php7-test | 7.2.5-lp151.6.22.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| red hat:apcu-panel | 0:5.1.17-1.module+el8.1.0+3189+a1bff096 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:libzip | 0:1.5.2-1.module+el8.1.0+3189+a1bff096 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:libzip-debuginfo | 0:1.5.2-1.module+el8.1.0+3189+a1bff096 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:libzip-debugsource | 0:1.5.2-1.module+el8.1.0+3189+a1bff096 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:libzip-devel | 0:1.5.2-1.module+el8.1.0+3189+a1bff096 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:libzip-tools | 0:1.5.2-1.module+el8.1.0+3189+a1bff096 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:libzip-tools-debuginfo | 0:1.5.2-1.module+el8.1.0+3189+a1bff096 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:php | 0:7.3.20-1.module+el8.2.0+7373+b272fdef · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:php-bcmath | 0:7.3.20-1.module+el8.2.0+7373+b272fdef · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:php-bcmath-debuginfo | 0:7.3.20-1.module+el8.2.0+7373+b272fdef · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:php-cli | 0:7.3.20-1.module+el8.2.0+7373+b272fdef · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
+11
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-476 · NULL Pointer DereferenceCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.