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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 6.26% (percentile 94, 2026-11-26)
- **CWE:** CWE-400, CWE-190
- **Published:** 2020-05-20T07:15:15.636Z
- **Modified:** 2026-06-17T02:12:12.830Z

## Who should check

- Anyone running PHP Group PHP \>= 7.3.x, \< 7.3.18; \>= 7.4.x, \< 7.4.6; \>= 7.2.x, \< 7.2.31

## 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 and fixed versions

- PHP Group PHP: \>= 7.3.x, \< 7.3.18; \>= 7.4.x, \< 7.4.6; \>= 7.2.x, \< 7.2.31 (cvelist)

## Mitigation

- Upgrade PHP to 7.2.31 or later.
- 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2019-11048. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2019-11048.md
Affected: PHP Group PHP >= 7.3.x, < 7.3.18; >= 7.4.x, < 7.4.6; >= 7.2.x, < 7.2.31
Fixed in: PHP Group PHP 7.3.18, PHP Group PHP 7.4.6, PHP Group PHP 7.2.31

Steps:
1. Search this machine and project for PHP Group PHP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2019-11048 being exploited?

There is no confirmed exploitation: CVE-2019-11048 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 6.26% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2019-11048?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2019-11048?

PHP Group PHP \>= 7.3.x, \< 7.3.18; \>= 7.4.x, \< 7.4.6; \>= 7.2.x, \< 7.2.31.

### Is there a fix for CVE-2019-11048?

Yes. Fixed in PHP Group PHP 7.3.18, PHP Group PHP 7.4.6, PHP Group PHP 7.2.31. Upgrade PHP to 7.2.31 or later. 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.

### How do I check if I'm affected by CVE-2019-11048?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OBA3TFZSP3TB5N4G24SO6BI64RJZXE3D/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XMDUQ7XFONY3BWTAQQUD3QUGZT6NFZUF/>
- vendor: <https://usn.ubuntu.com/4375-1/>
- vendor: <http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00045.html>
- vendor: <https://www.debian.org/security/2020/dsa-4717>
- vendor: <https://www.debian.org/security/2020/dsa-4719>
- exploit: <https://bugs.php.net/bug.php?id=78875>
- exploit: <https://bugs.php.net/bug.php?id=78876>
- other: <https://lists.debian.org/debian-lts-announce/2020/06/msg00033.html>
- other: <https://www.oracle.com/security-alerts/cpuoct2020.html>
- other: <https://security.netapp.com/advisory/ntap-20200528-0006/>
- other: <https://www.oracle.com/security-alerts/cpuApr2021.html>
- other: <https://www.tenable.com/security/tns-2021-14>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2019-11048>

HTML: <https://flawdb.com/CVE-2019-11048> · JSON: <https://flawdb.com/api/v1/entries/CVE-2019-11048>
