CVE-2020-7062

Null Pointer Dereference in PHP Session Upload Progress

Published Feb 27, 2020 CVSS 3.1 · 7.5 High EPSS 3.6% KEV · Not listed
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.

Remediation

Vendor Workaround

Disable file uploading, file upload tracking or enable session.upload_progress.cleanup.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2160-1 php5 security update
Debian DSA Debian DSA DSA-4717-1 php7.0 security update
Debian DSA Debian DSA DSA-4719-1 php7.3 security update
EUVD EUVD EUVD-2020-28196 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.
Ubuntu USN Ubuntu USN USN-4330-1 PHP vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
php
Published
Updated
Sep 16, 2024, 10:24 PM
Reserved
Jan 15, 2020, 12:00 AM
Status
Modified
Published
Feb 27, 2020, 9:15 PM
Modified
Jun 17, 2026, 3:24 AM
Severity
Moderate
Public date
Feb 4, 2020, 12:00 AM