CVE-2019-11048

Temporary files are not cleaned after OOM when parsing HTTP request data

Published May 20, 2020 CVSS 3.1 · 5.3 Medium EPSS 6.3% KEV · Not listed
Description
In PHP versions 7.2.x below 7.2.31, 7.3.x below 7.3.18 and 7.4.x below 7.4.6, when HTTP file uploads are allowed, supplying overly long filenames or field names could lead PHP engine to try to allocate oversized memory storage, hit the memory limit and stop processing the request, without cleaning up temporary files created by upload request. This potentially could lead to accumulation of uncleaned temporary files exhausting the disk space on the target server.

Remediation

Vendor Workaround

Setting post_max_size to value significantly lower than the memory limit prevents this issue from being exploited. Disabling file uploads also prevents this issue from happening.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2261-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-2019-2756 In PHP versions 7.2.x below 7.2.31, 7.3.x below 7.3.18 and 7.4.x below 7.4.6, when HTTP file uploads are allowed, supplying overly long filenames or field names could lead PHP engine to try to allocate oversized memory storage, hit the memory limit and stop processing the request, without cleaning up temporary files created by upload request. This potentially could lead to accumulation of uncleaned temporary files exhausting the disk space on the target server.
Ubuntu USN Ubuntu USN USN-4375-1 PHP vulnerability
History
Type Values Removed Values Added
Metrics epss

{'score': 0.20235}

epss

{'score': 0.15569}

Weaknesses

Sources

Status
PUBLISHED
Assigner
php
Published
Updated
Sep 16, 2024, 6:13 PM
Reserved
Apr 9, 2019, 12:00 AM
Status
Modified
Published
May 20, 2020, 8:15 AM
Modified
Jun 17, 2026, 2:12 AM
Severity
Moderate
Public date
May 14, 2020, 12:00 AM