Temporary files are not cleaned after OOM when parsing HTTP request data
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 6%. Fixed in PHP 7.2.31, PHP 7.3.18 and PHP 7.4.6.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| PHP Group | PHP | >=7.2.x <7.2.31, >=7.3.x <7.3.18, >=7.4.x <7.4.6 | 7.2.31, 7.3.18, 7.4.6 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in PHP, strongest first
Embed
A live severity badge for an advisory, README or ticket