Skip to content

CVE-2019-11048 Temporary files are not cleaned after OOM when parsing HTTP request data

MediumCVSS 5.3 EPSS 6.3%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
debian/php7.4(Debian:11) < 7.4.9-1 7.4.9-1
PHP >= 7.2.0, < 7.2.31 7.2.31
PHP >= 7.3.0, < 7.3.18 7.3.18
PHP >= 7.4.0, < 7.4.6 7.4.6
alpine/php7(Alpine:v3.11) < 7.3.18-r0 7.3.18-r0
alpine/php7(Alpine:v3.12) < 7.3.18-r0 7.3.18-r0
alpine/php7(Alpine:v3.13) < 7.3.18-r0 7.3.18-r0
alpine/php7(Alpine:v3.14) < 7.3.18-r0 7.3.18-r0
alpine/php7(Alpine:v3.15) < 7.3.18-r0 7.3.18-r0
alpine/php7(Alpine:v3.9) < 7.2.31-r0 7.2.31-r0
PHP >= 7.3.x, < 7.3.18 7.3.18
PHP >= 7.4.x, < 7.4.6 7.4.6
PHP >= 7.2.x, < 7.2.31 7.2.31

References