Temporary files are not cleaned after OOM when parsing HTTP request data
Published May 20, 2020
7.5
HIGHCVSS 3.1
EPSS 6.26%
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
-
- Version 7.2.xStatusaffectedConstraints<7.2.31
- Version 7.3.xStatusaffectedConstraints<7.3.18
- Version 7.4.xStatusaffectedConstraints<7.4.6
- Version
No data.
Red Hat Enterprise Linux 8
php:7.3-8020020200715124551.ceb1cf90
Fixed · RHSA-2020:3662
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php73-php-0:7.3.20-1.el7
Fixed · RHSA-2020:5275
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-php73-php-0:7.3.20-1.el7
Fixed · RHSA-2020:5275
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-php73-php-0:7.3.20-1.el7
Fixed · RHSA-2020:5275
Red Hat Enterprise Linux 5
php
Out of support scope
Red Hat Enterprise Linux 5
php53
Out of support scope
Red Hat Enterprise Linux 6
php
Out of support scope
Red Hat Enterprise Linux 7
php
Will not fix
Red Hat Enterprise Linux 8
php:7.2/php
Will not fix
Red Hat Software Collections
rh-php72-php
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | php:7.3-8020020200715124551.ceb1cf90 | Fixed | RHSA-2020:3662 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php73-php-0:7.3.20-1.el7 | Fixed | RHSA-2020:5275 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-php73-php-0:7.3.20-1.el7 | Fixed | RHSA-2020:5275 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-php73-php-0:7.3.20-1.el7 | Fixed | RHSA-2020:5275 |
| Red Hat Enterprise Linux 5 | php | Out of support scope | n/a |
| Red Hat Enterprise Linux 5 | php53 | Out of support scope | n/a |
| Red Hat Enterprise Linux 6 | php | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | php:7.2/php | Will not fix | n/a |
| Red Hat Software Collections | rh-php72-php | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Vendor solution
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.
Red Hat statement
The severity of this issue is considered Moderate because it requires an unlikely large `post_max_size` to be configured.
Red Hat mitigation
Ensure that `post_max_size` is set to a value less than 2GB, or remains default.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
1 other source (Red Hat) ▾
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (50 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 6.26% (0.06264) | 93.36th | v5 (v2026.06.15) |
| Jun 15, 2026 | 6.26% (0.06264) | 92.64th | v5 (v2026.06.15) |
| Mar 4, 2026 | 12.72% (0.12716) | 93.85th | v4 (v2025.03.14) |
| Mar 1, 2026 | 4.19% (0.04189) | 88.55th | v4 (v2025.03.14) |
| Feb 4, 2026 | 12.72% (0.12716) | 93.81th | v4 (v2025.03.14) |
| Feb 1, 2026 | 4.19% (0.04189) | 88.49th | v4 (v2025.03.14) |
| Jan 4, 2026 | 12.72% (0.12716) | 93.76th | v4 (v2025.03.14) |
| Jan 1, 2026 | 4.19% (0.04189) | 88.43th | v4 (v2025.03.14) |
| Dec 28, 2025 | 12.72% (0.12716) | 93.75th | v4 (v2025.03.14) |
| Dec 27, 2025 | 7.58% (0.07579) | 91.56th | v4 (v2025.03.14) |
| Dec 4, 2025 | 12.72% (0.12716) | 93.72th | v4 (v2025.03.14) |
| Dec 1, 2025 | 4.19% (0.04189) | 88.35th | v4 (v2025.03.14) |
| Nov 21, 2025 | 12.72% (0.12716) | 93.71th | v4 (v2025.03.14) |
| Nov 18, 2025 | 8.78% (0.08780) | 91.65th | v4 (v2025.03.14) |
| Nov 4, 2025 | 12.72% (0.12716) | 93.68th | v4 (v2025.03.14) |
| Nov 1, 2025 | 4.19% (0.04189) | 88.26th | v4 (v2025.03.14) |
| Oct 28, 2025 | 12.72% (0.12716) | 93.67th | v4 (v2025.03.14) |
| Oct 27, 2025 | 7.58% (0.07579) | 91.43th | v4 (v2025.03.14) |
| Oct 4, 2025 | 12.72% (0.12716) | 93.72th | v4 (v2025.03.14) |
| Oct 1, 2025 | 4.19% (0.04189) | 88.29th | v4 (v2025.03.14) |
| Sep 4, 2025 | 7.58% (0.07579) | 91.49th | v4 (v2025.03.14) |
| Aug 31, 2025 | 2.14% (0.02135) | 83.51th | v4 (v2025.03.14) |
| Aug 19, 2025 | 7.58% (0.07579) | 91.44th | v4 (v2025.03.14) |
| Aug 4, 2025 | 9.44% (0.09436) | 92.46th | v4 (v2025.03.14) |
| Aug 1, 2025 | 2.87% (0.02873) | 85.84th | v4 (v2025.03.14) |
| Jul 30, 2025 | 9.44% (0.09436) | 92.47th | v4 (v2025.03.14) |
| Jul 11, 2025 | 15.57% (0.15569) | 94.37th | v4 (v2025.03.14) |
| Jul 4, 2025 | 20.23% (0.20235) | 95.23th | v4 (v2025.03.14) |
| Jul 1, 2025 | 7.97% (0.07968) | 91.68th | v4 (v2025.03.14) |
| Jun 21, 2025 | 20.23% (0.20235) | 95.20th | v4 (v2025.03.14) |
| Jun 4, 2025 | 21.79% (0.21786) | 95.42th | v4 (v2025.03.14) |
| Jun 1, 2025 | 9.22% (0.09217) | 92.32th | v4 (v2025.03.14) |
| May 4, 2025 | 21.79% (0.21786) | 95.37th | v4 (v2025.03.14) |
| May 1, 2025 | 9.22% (0.09217) | 92.29th | v4 (v2025.03.14) |
| Mar 30, 2025 | 21.79% (0.21786) | 95.26th | v4 (v2025.03.14) |
| Mar 29, 2025 | 23.17% (0.23169) | 93.44th | v4 (v2025.03.14) |
| Mar 17, 2025 | 21.79% (0.21786) | 95.29th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.16% (0.01163) | 85.55th | v3 (v2023.03.01) |
| Apr 1, 2024 | 1.18% (0.01179) | 84.75th | v3 (v2023.03.01) |
| Feb 15, 2024 | 0.87% (0.00868) | 81.86th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.87% (0.00868) | 79.85th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 23.44% (0.23437) | 94.77th | v2 (v2022.01.01) |
| Feb 3, 2022 | 11.74% (0.11741) | 88.45th | v1 |
| Jan 6, 2022 | 11.74% (0.11741) | 88.31th | v1 |
| Sep 1, 2021 | 2.88% (0.02880) | 80.71th | v1 |
| Jul 23, 2021 | 2.88% (0.02880) | 0.00th | v1 |
| Jun 15, 2021 | 2.68% (0.02678) | 0.00th | v1 |
| Apr 14, 2021 | 2.48% (0.02476) | 0.00th | v1 |
References (17)
- http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00045.html vendor-advisoryx_refsource_SUSE
- https://access.redhat.com/security/cve/CVE-2019-11048 Vendor Advisory
- https://bugs.php.net/bug.php?id=78875 x_refsource_MISCExploitIssue TrackingVendor Advisory
- https://bugs.php.net/bug.php?id=78876 x_refsource_MISCExploitIssue TrackingVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1837842 Issue Tracking
- https://lists.debian.org/debian-lts-announce/2020/06/msg00033.html mailing-listx_refsource_MLIST
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OBA3TFZSP3TB5N4G24SO6BI64RJZXE3D/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XMDUQ7XFONY3BWTAQQUD3QUGZT6NFZUF/ vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2019-11048
- https://security.netapp.com/advisory/ntap-20200528-0006/ x_refsource_CONFIRM
- https://usn.ubuntu.com/4375-1/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2019-11048
- https://www.debian.org/security/2020/dsa-4717 vendor-advisoryx_refsource_DEBIAN
- https://www.debian.org/security/2020/dsa-4719 vendor-advisoryx_refsource_DEBIAN
- https://www.oracle.com/security-alerts/cpuApr2021.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuoct2020.html x_refsource_MISC
- https://www.tenable.com/security/tns-2021-14 x_refsource_CONFIRM
Change history (0)
No recorded changes yet.