CVE-2020-7062

Null Pointer Dereference in PHP Session Upload Progress

HIGH
7.5
CVSS Score
Published: February 27, 2020 at 08:25 PM UTC
Updated: June 17, 2026 at 03:24 AM UTC
4 products affected across 4 vendorsDebian LinuxUbuntu LinuxLeap

Using PHP by PHP Group?

Get instant alerts when new vulnerabilities affect PHP - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 4%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

PHP· PHPdrupal
95%
7.2.0 ≤ v ≤ 7.2.277.2.x ≤ v < 7.2.287.3.0 ≤ v ≤ 7.3.147.3.x ≤ v < 7.3.157.4.0 ≤ v ≤ 7.4.27.4.x ≤ v < 7.4.37.2.x7.3.x7.4.x
Affected range stops below 7.2.28, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.3.15, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.4.3, so it looks safe — our inference, not a vendor statement

References (8)

Vendor Advisoryx_refsource_SUSEMailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00023.html
x_refsource_MISCExploitVendor Advisory
https://bugs.php.net/bug.php?id=79221
Mailing Listx_refsource_MLISTThird Party Advisory
https://lists.debian.org/debian-lts-announce/2020/03/msg00034.html
Vendor Advisoryx_refsource_GENTOOThird Party Advisory
https://security.gentoo.org/glsa/202003-57
Vendor Advisoryx_refsource_UBUNTUThird Party Advisory
https://usn.ubuntu.com/4330-1/
Vendor Advisoryx_refsource_DEBIANThird Party Advisory
https://www.debian.org/security/2020/dsa-4717
Vendor Advisoryx_refsource_DEBIANThird Party Advisory
https://www.debian.org/security/2020/dsa-4719
x_refsource_CONFIRMThird Party Advisory
https://www.tenable.com/security/tns-2021-14

CVSS

7.5HIGHphp
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card