7.5
CWE
190 400
Advisory Published
Updated

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

First published: Mon May 11 2020(Updated: )

A flaw was found in PHP under a non-default configuration, where it was vulnerable to integer wraparounds during the reception of a multipart POST request. This flaw allows a remote attacker to repeatedly crash PHP and fill the filesystem with temporary PHP files, resulting in a denial of service.

Credit: security@php.net security@php.net

Affected SoftwareAffected VersionHow to fix
redhat/rh-php73-php<0:7.3.20-1.el7
0:7.3.20-1.el7
PHP PHP>=7.2.0<7.2.31
PHP PHP>=7.3.0<7.3.18
PHP PHP>=7.4.0<7.4.6
PHP PHP<7.2.31
7.2.31
redhat/php<7.3.18
7.3.18
redhat/php<7.2.31
7.2.31
redhat/php<7.4.6
7.4.6
ubuntu/php5<5.5.9+dfsg-1ubuntu4.29+
5.5.9+dfsg-1ubuntu4.29+
ubuntu/php7.0<7.0.33-0ubuntu0.16.04.15
7.0.33-0ubuntu0.16.04.15
ubuntu/php7.2<7.2.24-0ubuntu0.18.04.6
7.2.24-0ubuntu0.18.04.6
ubuntu/php7.2<7.2.31
7.2.31
ubuntu/php7.3<7.3.11-0ubuntu0.19.10.6
7.3.11-0ubuntu0.19.10.6
ubuntu/php7.3<7.3.18
7.3.18
ubuntu/php7.4<7.4.3-4ubuntu2.2
7.4.3-4ubuntu2.2
ubuntu/php7.4<7.4.6
7.4.6
debian/php7.4
7.4.33-1+deb11u5

Remedy

Ensure that `post_max_size` is set to a value less than 2GB, or remains default.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2019-11048?

    CVE-2019-11048 is a vulnerability 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 that could allow memory allocation errors when handling overly long filenames or field names in HTTP file uploads.

  • How does CVE-2019-11048 affect PHP?

    CVE-2019-11048 affects 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.

  • What is the severity of CVE-2019-11048?

    The severity rating of CVE-2019-11048 is high with a CVSS severity score of 7.5.

  • How can I fix CVE-2019-11048?

    To fix CVE-2019-11048, you should update your PHP installation to version 7.2.31, 7.3.18, or 7.4.6 depending on the affected version range.

  • Where can I find more information about CVE-2019-11048?

    You can find more information about CVE-2019-11048 on the official PHP bug tracker and Red Hat Bugzilla.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203